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 »

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 15777 times
mikeb
Posts: 708
Joined: Thu Jul 27, 2006 11:58 am

Re: Help Me,About Chinese Language

Post 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
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 »

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 15769 times
young
Posts: 4
Joined: Mon Sep 02, 2019 10:58 pm

Re: Help Me,About Chinese Language

Post by young »

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 »

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 15759 times
mikeb
Posts: 708
Joined: Thu Jul 27, 2006 11:58 am

Re: Help Me,About Chinese Language

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