After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787507 - Images in the user manual
Images in the user manual
Status: RESOLVED OBSOLETE
Product: shotwell
Classification: Other
Component: Internationalization
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-10 15:30 UTC by Mario Blättermann
Modified: 2021-05-19 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Converted image (13.06 KB, image/svg+xml)
2017-09-12 10:26 UTC, Jens Georg
  Details
wip: png -> svg (65.93 KB, patch)
2017-09-17 17:34 UTC, Jens Georg
none Details | Review

Description Mario Blättermann 2017-09-10 15:30:41 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.
Comment 1 Piotr Drąg 2017-09-11 02:18:33 UTC
(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.
Comment 2 Jens Georg 2017-09-11 06:14:12 UTC
Yeah, that's a bit of american ignorance. I will see if I can recreate that file, the original source is most likely lost
Comment 3 Jens Georg 2017-09-11 10:12:45 UTC
Image in question: https://git.gnome.org/browse/shotwell/plain/help/C/figures/trash_process.png
Comment 4 Jens Georg 2017-09-12 10:26:09 UTC
> gnome-getting-started-docs does that.

Where?
Comment 5 Jens Georg 2017-09-12 10:26:47 UTC
Created attachment 359608 [details]
Converted image
Comment 6 Piotr Drąg 2017-09-12 10:57:45 UTC
(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
Comment 7 Jens Georg 2017-09-17 17:34:51 UTC
Created attachment 359935 [details] [review]
wip: png -> svg
Comment 8 Jens Georg 2017-10-22 09:28:25 UTC
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 :-/
Comment 9 Mario Blättermann 2017-10-25 20:00:58 UTC
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?
Comment 10 Jens Georg 2017-10-26 06:43:22 UTC
Yes, that was my plan
Comment 11 GNOME Infrastructure Team 2021-05-19 15:08:56 UTC
-- 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.