GNOME Bugzilla – Bug 787507
Images in the user manual
Last modified: 2021-05-19 15:08:56 UTC
Hello, currently I'm translating the Shotwell user manual. There is an image named »trash_process.png« which contains translatable strings. But it's a PNG file, which makes translations almost impossible. Obviously the PNG file has been created from a vector graphics image. Due to the nature of such files, it would be much easier to replace the text parts by their corresponding translations. Would be really helpful for us to add your vector graphics source (whatever the file format is) to the help/C/figures folder in the Git repo. One step further (for the future): SVG files are text files. So it would be possible to fetch the relevant text parts from this file using an appropriate gettext tool and put the translations back into the localized SVG file. Well, for the time being I don't know how this could work, but I'm quite sure I've already read about it somewhere.
(In reply to Mario Blättermann from comment #0) > One step further (for the future): SVG files are text files. So it would be > possible to fetch the relevant text parts from this file using an > appropriate gettext tool and put the translations back into the localized > SVG file. Well, for the time being I don't know how this could work, but I'm > quite sure I've already read about it somewhere. gnome-getting-started-docs does that.
Yeah, that's a bit of american ignorance. I will see if I can recreate that file, the original source is most likely lost
Image in question: https://git.gnome.org/browse/shotwell/plain/help/C/figures/trash_process.png
> gnome-getting-started-docs does that. Where?
Created attachment 359608 [details] Converted image
(In reply to Jens Georg from comment #4) > > gnome-getting-started-docs does that. > > Where? https://git.gnome.org/browse/gnome-getting-started-docs/tree/gnome-help/pl/pl.po#n445
Created attachment 359935 [details] [review] wip: png -> svg
I have pushed the SVG into master, so people can start to change it if they like. The automatic XML translation needs some more tweaking to get the text boxes actually shown in yelp :-/
Many thanks. In the meantime, we have created our own translated image from the png file. But I'm sure it will help other teams to get the image localized. I think we should keep this ticket open until the strings from the svg file are merged into the translation template, shouldn't we?
Yes, that was my plan
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/shotwell/-/issues/4871.