[Interest] get english translation

André Somers andre at familiesomers.nl
Tue Sep 2 10:06:31 CEST 2014


Graham Labdon schreef op 1-9-2014 14:50:
> Hi
> My application is internationalized, however, in some circumstances I need the English version of the string no matter what translator is being used.
> Anyone have any suggestions on how to achieve this?
>
> Thanks
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
I'd think that the simplest solution might be to create an English 
translation (you might want to have one anyway to handle singulars and 
plurals). Then, while you need that translation, you install it. As 
always the last installed translation is used first, this will override 
any other installed translation. When you no longer need it, you remove 
it again, and you're back to using the previously installed translation.

André




More information about the Interest mailing list