In the current use case the libraries do not translate anything. The po 
files of the libraries do contain the "msgids" but the translation 
strings are empty.

qx.locale.Manager.getInstance().addTranslation(locale, map) is called 
first in the constructor of the app mixin and that seems to work 
reliable in this setup.

So it is not a real override.

But yes, if I'm facing the problem of doing a real override, I think I 
would take your advice and create a "translation override" lib and 
include it at last position in config.json

Thank you again Thomas for your help.

Regards
Dietrich

Am 20.10.2015 um 21:17 schrieb thron7:
> My guess is the later the lib appears in the "libraries" array of the 
> generator, the more likely its translation will "win". This might 
> suggest you create yet another library just for a single class that 
> has the keys you wish to override, and their translations, and place 
> it at the far end of your "libraries" array. (If earlier libs win you 
> are fine as the app itself always should come first in the array.)
>


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to