switch language failed

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Post Reply
iauther
Posts: 4
Joined: Tue Sep 22, 2015 11:32 pm

switch language failed

Post by iauther »

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!
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: switch language failed

Post by shaunw »

It seems like you don't have the Chinese locale installed in Windows, so TimeTrex can't switch to it.
iauther
Posts: 4
Joined: Tue Sep 22, 2015 11:32 pm

Re: switch language failed

Post by iauther »

shaunw wrote:It seems like you don't have the Chinese locale installed in Windows, so TimeTrex can't switch to it.
I'm sure that I have installed Chinese locale in windows, but it isn't in unicode mode, is it the reason?

And is there any way to force timetrex to switch to chinese?

Thanks a lot!
iauther
Posts: 4
Joined: Tue Sep 22, 2015 11:32 pm

Re: switch language failed

Post by iauther »

iauther wrote:
shaunw wrote:It seems like you don't have the Chinese locale installed in Windows, so TimeTrex can't switch to it.
I'm sure that I have installed Chinese locale in windows, but it isn't in unicode mode, is it the reason?

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.
Post Reply