[Interest] Dynamic translation

André Somers andre at familiesomers.nl
Mon Jul 27 08:37:52 CEST 2015


Op 24-7-2015 om 16:38 schreef Graham Labdon:
> Hi
> My Qt application supports dynamic translation IE the user can change languages whilst the application is running
>
> Now I have a need to find the English equivalent of a translated string and don't seem to be able to find a way
>
> For example
> Given QString s = tr("Hello");
> I need to be able to get "Hello" from s after translation has taken place.
>
> Has anyone done this before or have any ideas on how (if) it can be achieved
>
Why do you (think you) need to do that? What is it want to achieve with 
that original string?
And in case you really need the original: keep the original around.

André




More information about the Interest mailing list