Bug 301722

Summary: simon - GUI first run: Missing translations
Product: [Unmaintained] simon Reporter: Antoni Bella <antonibella5>
Component: simonAssignee: Peter Grasch <me>
Status: RESOLVED FIXED    
Severity: normal CC: antonibella5
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antoni Bella 2012-06-12 11:32:09 UTC
Hi people

simon 0.3.80 compiled from sources (desktop files updated)

I have translated the entire GUI for simon and its documentation in the Catalan language. Now I'm reviewing the documentation and adding screenshots but I found a bug.

In the blue area on the right side, missing the list of steps.

I added a screenshot into repository for Catalan.

http://websvn.kde.org/trunk/l10n-kde4/ca/docs/extragear-accessibility/simon/first_run_1.png?view=log

Contrast with the screenshot in English.

https://projects.kde.org/projects/extragear/accessibility/simon/repository/revisions/master/entry/doc/simon/first_run_1.png

Regards
Toni

Reproducible: Always
Comment 1 Peter Grasch 2012-06-12 16:45:12 UTC
Hi!

First of all, thanks for translating Simon to Catalan.

The wizard banners on the left are actually handled internally (the translated version needs to be added here: https://projects.kde.org/projects/extragear/accessibility/simon/repository/revisions/master/show/simon/themes/default/l10n).

But IIRC there is a way to localize images in KDE so it's better to rewrite this and take advantage of the l10n infrastructure. I'll have a look at this soonish and use this bug to tell you as soon as the transition is done. Thanks for reporting it!
Comment 2 Peter Grasch 2012-10-31 17:07:07 UTC
Hi!

I just had a look (finally) and this is implemented correctly. All you need to do is install appropriate theme images. Have a look at simon/themes/default/l10n.

We do have German images already and they are found correctly without any special logic inside Simon (KStandardDirs takes care of that).

You can find the image template as xcf in the simon/themes/default directory.

Best regards,
Peter
Comment 3 Antoni Bella 2012-11-01 18:15:04 UTC
(In reply to comment #2)
> 
> You can find the image template as xcf in the simon/themes/default directory.

  I need some reference to work it. README? HOWTO?

and,

  Is there a mailing list to talk with you about the format of a new dictionary shadow for Catalan language? There are people interested in doing the same for the Spanish. See the source (GPL, access is restricted): http://clic.ub.edu/corpus/en/ancora-descarregues  ;-)

  Regards
  Toni
Comment 4 Peter Grasch 2012-11-01 18:33:00 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > 
> > You can find the image template as xcf in the simon/themes/default directory.
> 
>   I need some reference to work it. README? HOWTO?
Okay. Here is the official documentation on how this works:
http://techbase.kde.org/Localization/Concepts/Non_Text_Resources

It all boils down to this. There are images in simon/themes/default. If you create images in simon/themes/default/l10n/<langcode>/ with the same name and install them correctly (look at e.g. simon/themes/default/l10n/de/CMakeLists.txt for an example; don't forget to add them to simon/themes/default/l10n/CMakeLists.txt as well), they will be shown instead if the users language is <langcode>.

To build images that look like the English version you can use the template I pointed out above. That is basically a GIMP file with multiple layers - just copy the existing text layers and translate the text on them.

>   Is there a mailing list to talk with you about the format of a new
> dictionary shadow for Catalan language? There are people interested in doing
> the same for the Spanish. See the source (GPL, access is restricted):
> http://clic.ub.edu/corpus/en/ancora-descarregues  ;-)
Sounds interesting, let's talk about this on kde-accessibility at kde.org

Best regards,
Peter
Comment 5 Antoni Bella 2012-11-02 17:42:38 UTC
I worked on the image of the wizard for the Catalan language, see here: ;-)

http://commits.kde.org/simon/004891534e35a857ea26a8303e21cec892167aba

Only into master branch, make changes for the next releases of Simon.
Comment 6 Peter Grasch 2012-11-03 12:35:14 UTC
Thank you very much, Antoni!

Please be aware that master *is* 0.4 (and will most likely only be branched off after the release). Don't worry, though, as the hard message freeze (under which I'd put this) is December, 20th.