translator-credits

Jonas Rydberg jonas at arbor.se
Mon Dec 4 16:41:19 PST 2006


   Hello

   First, I don't know it this is the right list, feel free to move the 
discussion to another list if this is not enough translator-centered.

Currently, in wx, the string "translator-credits" is marked for 
translation (in src/gtk/aboutdlg.cpp - btw, shouldn't this be used in 
generic to?), and thus it ends up in the *.po-files.

As I understand it, when the translator find this string, s/he is 
supposed to replace it with his/hers own name, so that s/he is 
autmatically credited in an application using the translation.

Now, I see a small problem here. What if the developer of an app that 
uses wx put this string in his sources in order to get credits to his 
translators (for the app). Wouldn't there be a clash between the apps 
and the wx's string?

And also, even if he doesn't have a translation but wx is translated, 
the wx-translator might show up, credited for translation of the app, 
which might not be what the developer wanted.

I'm not sure what's the policy about crediting wx 
developers/translator/artists in users app, but afaics there are no 
automatic crediting of the wx-developers, so why should the 
wx-translators be?
If we still want to do this (hey, I wont mind, all publicity is good 
publicity ;), perhaps the translatable string in wx should be called 
"wx-translator-credits" and the aboutdialog change to read "wxWidgets 
translated by..." in addition to the translators for the app.

Now, I'm not sure how to handle this. In order to get the translator 
credits from the apps own .po, the code should be replaced by a 
GetTranslation(wxT("translator-credits")), so it's removed from the wx 
.po's. But then the string has to be appearant in the devs po-file, and 
that won't probably happen, since he is using wx aboutdialog, and not 
marking the string for translation in his sources. Maybe a note in the 
documentation that in order to get translator credits for his 
translators, put wxTRANSLATE("translator-credits") somewhere in the code 
so it will be extracted to his *.po, and then autmatically used in 
aboutdialog by wx.

Finally, if this is implemented, the po's needs a respin to remove the 
string.

Any thoughts?

/Jonas






More information about the wx-translators mailing list