Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adjusting the locale environment before the daemons are started #347
The language setting via JSON RPC does not work if LANGUAGE is set to something, at least in some OSs. With this fix, to be safe some environment variables are unset, and LC_CTYPE is set to the default locale. With this setting it should work, and it will not be in conflict with anything.
The PR is a work-around for the issue described in issue #350, but this should NOT be considered to be a solution.
I followed the instructions for installing under Ubuntu 16.04. When trying directly to the Backend I hade no language support. In the start file I then added "unset LANGUAGE" and restarted Backend (both RPC and Test Agent). Now I hade support for sv and fr (not da due to another bug). I removed "unset LANGUAGE" and restarted and lost support.
The added lines solves the issue and will not create any problem.
We have the same problem in CLI. When LANGUAGE is set to something, then you cannot select language with