Translation doesn't work since last upgrade
Posted: Thu Jan 12, 2017 1:52 am
Hi,
Since i upgraded my timetrex v9.1.1 to v10.0.4, i'm not able to change language to French or any other language.
At login page, the dropdown menu only show English...
What is happening here ? :
How could i fix that ? I don't want to downgrade to v9.1.1..
Thanks you,
Since i upgraded my timetrex v9.1.1 to v10.0.4, i'm not able to change language to French or any other language.
At login page, the dropdown menu only show English...
- PHP Version 5.6.29-0+deb8u1
Apache/2.4.10 (Debian)
Mysqli 5.5.53
- locale :
LANG=fr_CA.UTF-8
LANGUAGE=fr_CA:fr
LC_CTYPE="fr_CA.UTF-8"
LC_NUMERIC="fr_CA.UTF-8"
LC_TIME="fr_CA.UTF-8"
LC_COLLATE="fr_CA.UTF-8"
LC_MONETARY="fr_CA.UTF-8"
LC_MESSAGES="fr_CA.UTF-8"
LC_PAPER="fr_CA.UTF-8"
LC_NAME="fr_CA.UTF-8"
LC_ADDRESS="fr_CA.UTF-8"
LC_TELEPHONE="fr_CA.UTF-8"
LC_MEASUREMENT="fr_CA.UTF-8"
LC_IDENTIFICATION="fr_CA.UTF-8"
LC_ALL=fr_CA.UTF-8
Code: Select all
---------------[ 12-Jan-2017 2:51:43 -0500 [1484207503.732] (PID: 1408) ]---------------
DEBUG [L0401] [00005ms]: [Function](): URI: /timetrex/interface/html5/index.php IP Address: **
DEBUG [L0403] [00005ms]: [Function](): USER-AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
DEBUG [L0404] [00005ms]: [Function](): Version: 10.0.4 (PHP: v5.6.29-0+deb8u1) Edition: 10 Production: 0 Server: 149.56.97.47 OS: LINUX Database: Type: mysqli Name: timetrex Config: /var/www/html/timetrex/includes/../timetrex.ini.php Demo
DEBUG [L0404] [00005ms]: [Function](): Mode: 0
DEBUG [L0163] [00010ms]: TTDate::setTimeZone(): Setting TimeZone: EST5EDT
DEBUG [L2483] [00013ms]: Misc::redirectMobileBrowser(): Desktop browser override: 0
DEBUG [L0574] [00015ms]: Authentication::loginHTTPAuthentication(): HTTPAuthentication is passing username: gestion however enable_http_authentication is not enabled.
---------------[ 12-Jan-2017 2:51:43 -0500 [1484207503.7463] (PID: 1408) ]---------------
---------------[ 12-Jan-2017 2:51:44 -0500 [1484207503.982] (PID: 2974) ]---------------
DEBUG [L0401] [00008ms]: [Function](): URI: /timetrex/interface/html5/global/APIGlobal.js.php?v=10.0.4-20170112-025100 IP Address: **
DEBUG [L0403] [00008ms]: [Function](): USER-AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
DEBUG [L0404] [00008ms]: [Function](): Version: 10.0.4 (PHP: v5.6.29-0+deb8u1) Edition: 10 Production: 0 Server: ** OS: LINUX Database: Type: mysqli Name: timetrex Config: /var/www/html/timetrex/includes/../timetrex.ini.php Demo
DEBUG [L0404] [00008ms]: [Function](): Mode: 0
DEBUG [L0163] [00010ms]: TTDate::setTimeZone(): Setting TimeZone: EST5EDT
DEBUG [L0376] [00011ms]: TTi18n::getBrowserLanguage(): HTTP_ACCEPT_LANGUAGE: fr-CA,fr;q=0.8,fr-FR;q=0.6,en-US;q=0.4,en;q=0.2
DEBUG [L0360] [00011ms]: TTi18n::setLocale(): Set Master Locale To: fr_CA
DEBUG [L0360] [00011ms]: TTi18n::setLocale(): Set Master Locale To: fr_FR
DEBUG [L0360] [00011ms]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [L0480] [00011ms]: TTi18n::chooseBestLocale(): Unable to find and set a locale.
DEBUG [L0413] [00015ms]: APIAuthentication::getCompanyName(): Primary Company ID: 2
DEBUG [L0365] [00016ms]: APIAuthentication::getTTProductEdition(): Edition: 10
DEBUG [L0365] [00016ms]: APIAuthentication::getTTProductEdition(): Edition: Community
DEBUG [L0253] [00017ms]: APIAuthentication::isLoggedIn(): AMF Session ID: 82fb7e6928982f646aa9cfbedf7413359e29d33d Source IP: ** Touch Updated Date: 1
DEBUG [L0732] [00017ms]: Authentication::Check(): Session ID: 82fb7e6928982f646aa9cfbedf7413359e29d33d IP Address: ** URL: /timetrex/interface/html5/global/APIGlobal.js.php?v=10.0.4-20170112-025100 Touch Updated Date: 1
DEBUG [L0754] [00021ms]: Authentication::Check(): Touching updated date due to more than 60s...
---------------[ 12-Jan-2017 2:51:44 -0500 [1484207504.0088] (PID: 2974) ]---------------
---------------[ 12-Jan-2017 2:51:46 -0500 [1484207506.17] (PID: 1408) ]---------------
DEBUG [L0401] [00003ms]: [Function](): URI: /timetrex/api/json/api.php?Class=APINotification&Method=getNotifications&v=2&MessageID=31aef568-3944-dded-ef92-7a0412a5f99f IP Address: **
DEBUG [L0403] [00003ms]: [Function](): USER-AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
DEBUG [L0404] [00003ms]: [Function](): Version: 10.0.4 (PHP: v5.6.29-0+deb8u1) Edition: 10 Production: 0 Server: ** OS: LINUX Database: Type: mysqli Name: timetrex Config: /var/www/html/timetrex/includes/../timetrex.ini.php Demo
DEBUG [L0404] [00003ms]: [Function](): Mode: 0
DEBUG [L0163] [00006ms]: TTDate::setTimeZone(): Setting TimeZone: EST5EDT
DEBUG [L0222] [00007ms]: [Function](): Handling JSON Call To API Factory: APINotification Method: getNotifications Message ID: 31aef568-3944-dded-ef92-7a0412a5f99f
DEBUG [L0261] [00007ms] Array: [Function](): Arguments: (Size: 32)
array(1) {
[0]=>
string(5) "login"
}
DEBUG [L0271] [00007ms]: [Function](): Session ID: 82fb7e6928982f646aa9cfbedf7413359e29d33d Source IP: **
DEBUG [L0732] [00007ms]: Authentication::Check(): Session ID: 82fb7e6928982f646aa9cfbedf7413359e29d33d IP Address: ** URL: /timetrex/api/json/api.php?Class=APINotification&Method=getNotifications&v=2&MessageID=31aef568-3944-dded-ef92-7a04
DEBUG [L0732] [00007ms]: Authentication::Check(): 12a5f99f Touch Updated Date: 1
DEBUG [L0158] [00020ms]: TTDate::setTimeZone(): TimeZone already set to: EST5EDT
DEBUG [L0213] [00020ms]: TTDate::setDateFormat(): Setting Default Date Format: d/m/Y
DEBUG [L0227] [00020ms]: TTDate::setTimeFormat(): Setting Default Time Format: g:i A
DEBUG [L0241] [00020ms]: TTDate::setTimeUnitFormat(): Setting Default Time Unit Format: 10
DEBUG [L0120] [00020ms]: authenticatedInvokeService(): Locale Cookie:
DEBUG [L0128] [00020ms]: authenticatedInvokeService(): User Preference Language matches cookie!
DEBUG [L0360] [00021ms]: TTi18n::setLocale(): Set Master Locale To: en_CA
DEBUG [L0143] [00022ms]: authenticatedInvokeService(): Current User: ** (User ID: 2) Company: ** (Company ID: 2)
DEBUG [L0259] [00036ms]: APINotification::getNotifications(): UnRead Messages: 0
DEBUG [L0158] [00039ms]: TTDate::setTimeZone(): TimeZone already set to: EST5EDT
DEBUG [L0213] [00039ms]: TTDate::setDateFormat(): Setting Default Date Format: d/m/Y
DEBUG [L0227] [00039ms]: TTDate::setTimeFormat(): Setting Default Time Format: g:i A
DEBUG [L0241] [00039ms]: TTDate::setTimeUnitFormat(): Setting Default Time Unit Format: 10
DEBUG [L0290] [00039ms]: [Function](): Server Response Time: 0.038370847702026
---------------[ 12-Jan-2017 2:51:46 -0500 [1484207506.2084] (PID: 1408) ]---------------
I tried to addDEBUG [L0163] [00010ms]: TTDate::setTimeZone(): Setting TimeZone: EST5EDT
DEBUG [L0376] [00011ms]: TTi18n::getBrowserLanguage(): HTTP_ACCEPT_LANGUAGE: fr-CA,fr;q=0.8,fr-FR;q=0.6,en-US;q=0.4,en;q=0.2
DEBUG [L0360] [00011ms]: TTi18n::setLocale(): Set Master Locale To: fr_CA
DEBUG [L0360] [00011ms]: TTi18n::setLocale(): Set Master Locale To: fr_FR
DEBUG [L0360] [00011ms]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [L0480] [00011ms]: TTi18n::chooseBestLocale(): Unable to find and set a locale.
DEBUG [L0413] [00015ms]: APIAuthentication::getCompanyName(): Primary Company ID: 2
- [fr_CA]
name = French
encoding = utf-8
How could i fix that ? I don't want to downgrade to v9.1.1..
Thanks you,