Hi
My system maintains a system log which we require to be in English.
Some of the strings used to log messages are also used to present information 
to the user in the selected language

-----Original Message-----
From: interest-bounces+graham.labdon=avalonsciences....@qt-project.org 
[mailto:interest-bounces+graham.labdon=avalonsciences....@qt-project.org] On 
Behalf Of André Somers
Sent: 27 July 2015 07:38
To: interest@qt-project.org
Subject: Re: [Interest] Dynamic translation

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é

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to