Help Me,About Chinese Language

Topics brought up by the TimeTrex open source community.
Post Reply
young
Posts: 4
Joined: Mon Sep 02, 2019 10:58 pm

Help Me,About Chinese Language

Post by young » Fri Sep 06, 2019 1:27 am

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
Attachments
121.png
121.png (58.82 KiB) Viewed 178 times

mikeb
Posts: 593
Joined: Thu Jul 27, 2006 11:58 am

Re: Help Me,About Chinese Language

Post by mikeb » Fri Sep 06, 2019 8:07 am

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
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!

young
Posts: 4
Joined: Mon Sep 02, 2019 10:58 pm

Re: Help Me,About Chinese Language

Post by young » Sun Sep 08, 2019 8:00 pm

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
Attachments
locale.png
locale.png (16.12 KiB) Viewed 170 times

young
Posts: 4
Joined: Mon Sep 02, 2019 10:58 pm

Re: Help Me,About Chinese Language

Post by young » Sun Sep 08, 2019 8:04 pm

By the way
In log
TTi18n::chooseBestLocale(): Unable to find and set a locale.

young
Posts: 4
Joined: Mon Sep 02, 2019 10:58 pm

Re: Help Me,About Chinese Language

Post by young » Mon Sep 09, 2019 1:15 am

I fixed it by edit the function getLanguageArray() add "zh"

Thanks anyway

Language is a very big problem :D
Attachments
zh.png
zh.png (86.35 KiB) Viewed 160 times

mikeb
Posts: 593
Joined: Thu Jul 27, 2006 11:58 am

Re: Help Me,About Chinese Language

Post by mikeb » Mon Sep 09, 2019 7:59 am

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
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!

Post Reply