[Qt-creator] How to launch application with language other than system one?

Tobias Hunger Tobias.Hunger at qt.io
Mon Aug 22 13:45:53 CEST 2016


On Di, 2016-06-21 at 07:53 +0000, Dmitry Volosnykh wrote:
> I am using QtCreator of version 4.0.2 running on Ubuntu 14.04.
> 
> My host language is LANG=en_EN.UTF-8, but I want application to be running
> with LANG=ru_RU.UTF-8. Specifying this setting for Run environment does not
> help. Despite this, I am able to achieve the result running from Bash:
> $ LANG=ru_RU.UTF-8 ./application
> 
> Do I miss something or should I file a bug report?

Hey Dimtry,

that should work exactly like you attempted it.

Could you please try to add LANG ru_RU.UTF-8 into the run environment and then
start a custom executable with the "env" command? That should show whether or
not the setting is visible to the program you run.

If it is not, then please file a bug in our JIRA and assign it over to me.

If it is, then the program does most likely not find its translations and falls
back to the built-in texts.

Best Regards,
Tobias

-- 
Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho. Sitz der
Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B


More information about the Qt-creator mailing list