can't login in Chinese language

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

can't login in Chinese language

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.
In the login web, There are 10 languages avilable, but the top 8 languages switch success, only the last 2 languages switch failed,
It means that only Arabic and Chinese can't switch succssfully.

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 (my system is windows, why here print linux locale?)
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 in the window?
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: can't login in Chinese language

Post by shaunw »

TimeTrex isn't able to find the proper locale installed on Windows, therefore it can't switch to it and defaults back to English. If you attach your entire TimeTrex log file it would be much more helpful as well.
Post Reply