the running-environment:
windows server 2008 R2 64bit
timetrex Community 8.0.9
database:postgresql
description:
when I select the chinese language on the login web , the web will refresh and then it back to english too.
so I can't switch the language. I has read the log and find that:
getBrowserLanguage(): HTTP_ACCEPT_LANGUAGE: zh-CN
tryLocale():Found valid windows locale: enu Linux locale: en_US
setLocale(): Set Master Locale To: en_US
chooseBestLocale(): Unable to find and set a locale
Any ways to help me to force the system switch to zh-CN?
Or how can I change something to make timetrex find the right locale and set successfully?
Any help will be appreciated!
thanks!
switch language failed
Re: switch language failed
It seems like you don't have the Chinese locale installed in Windows, so TimeTrex can't switch to it.
Re: switch language failed
I'm sure that I have installed Chinese locale in windows, but it isn't in unicode mode, is it the reason?shaunw wrote:It seems like you don't have the Chinese locale installed in Windows, so TimeTrex can't switch to it.
And is there any way to force timetrex to switch to chinese?
Thanks a lot!
Re: switch language failed
iauther wrote:I'm sure that I have installed Chinese locale in windows, but it isn't in unicode mode, is it the reason?shaunw wrote:It seems like you don't have the Chinese locale installed in Windows, so TimeTrex can't switch to it.
And is there any way to force timetrex to switch to chinese?
Thanks a lot!
addition:
In the login web, There are 10 languages avilable, but the top 8 languages switch success, only the last 2 languages switchfailed, It means that only Arabic and Chinese can't switch succssfully.
I'm looking forward to your solution, thanks.