Page 1 of 1

Help Me,About Chinese Language

Posted: Fri Sep 06, 2019 1:27 am
by young
Image
Version 11.6.0
OS Linux Ubuntu 18.04.3 LTS
PHP Ver 7.2.3
PostgreSQL 10.3

Login page Language list don't have Chinese
how to add it

Re: Help Me,About Chinese Language

Posted: Fri Sep 06, 2019 8:07 am
by mikeb
TimeTrex requires that the locale for each language is installed on your operating system, for Chinese language its the "zh_CN" locale. You can find more information about that here: https://askubuntu.com/questions/76013/h ... ntu-server

Re: Help Me,About Chinese Language

Posted: Sun Sep 08, 2019 8:00 pm
by young
Thank You
My system Locale like this ,but login page is still have not chinese
And when i login in ,My Account --Preferences Language List don't have chinese

Re: Help Me,About Chinese Language

Posted: Sun Sep 08, 2019 8:04 pm
by young
By the way
In log
TTi18n::chooseBestLocale(): Unable to find and set a locale.

Re: Help Me,About Chinese Language

Posted: Mon Sep 09, 2019 1:15 am
by young
I fixed it by edit the function getLanguageArray() add "zh"

Thanks anyway

Language is a very big problem :D

Re: Help Me,About Chinese Language

Posted: Mon Sep 09, 2019 7:59 am
by mikeb
I looked into this more and it appears the Chinese translation wasn't kept up-to-date and dropped below the 90% translation level, so it was removed at the beginning of 2019.

If you wish to contribute, we have instructions on how you can do so here: viewtopic.php?f=5&t=707