Page 1 of 1

New Version only English??

Posted: Sun Jan 19, 2014 10:35 pm
by Yajasi
We just upgraded to version 7.2.2 on a locally hosted Ubuntu 12.04 LTS server. It doesn't matter which language we select, we always get English. We've tried selecting from the Login screen and from the Preferences screen. The Login screen remembers our setting even though it is still in English. The Preferences screen stays on English no matter how many times we change it to another language and hit Save.

What have we done wrong?

Re: New Version only English??

Posted: Mon Jan 20, 2014 6:38 pm
by shaunw
What version did you upgrade from?

Can you send us a copy of your log file, see this FAQ for information on how to enable that:
http://forums.timetrex.com/viewtopic.php?f=6&t=89

Re: New Version only English??

Posted: Mon Jan 27, 2014 9:57 pm
by Yajasi
I think this is the section of the log that you are looking for. Thanks!

Code: Select all

---------------[ 28-Jan-2014 13:54:30 +0900 (PID: 6420) ]---------------
DEBUG [L0519] [64ms]:	<b>TTi18n::chooseBestLocale()</b>: Unable to find and set a locale.<br>
DEBUG [L0136] [64ms]:	<b>[Function]()</b>: SOAP UnAuthenticated!<br>
DEBUG [L0058] [74ms]:	<b>APIAuthentication::Login()</b>: User Name: admin Password Length: 10 Type: USER_NAME<br>
DEBUG [L0569] [74ms]:	<b>Authentication::Login()</b>: Login Type: USER_NAME<br>
DEBUG [L0260] [112ms]:	<b>Authentication::checkCompanyStatus()</b>: Company Status: 10<br>
DEBUG [L0779] [114ms]:	<b>UserFactory::checkPassword()</b>: LDAP authentication disabled due to config or extension missing...<br>
DEBUG [L0901] [148ms]:	<b>UserFactory::checkPasswordAge()</b>: Password Policy: Type: 0(10) Current Age: 469.2293518518(1350343454) Maximum Age: 365 days Permission Level: 25<br>
DEBUG [L0607] [149ms]:	<b>Authentication::Login()</b>: Login Succesful for User Name: admin<br>
DEBUG [L0412] [153ms]:	<b>Authentication::setCookie()</b>: Cookie Expires: 1398660870<br>
DEBUG [L1530] [198ms]:	<b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1585] [198ms]:	<b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1623] [199ms]:	<b>Factory::Save()</b>: Insert ID: 273435<br>
DEBUG [L1508] [199ms]:	<b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [L1540] [212ms]:	<b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0095] [255ms]:	<b>TTLog::addEntry()</b>: LogDetail Disabled... Object ID: 1 Action ID: 100 Table: authentication Description: SourceIP: 127.0.0.1 Type: USER_NAME SessionID: 8021840485bce201ea8a7c5e4842b7733d1d4bc1 UserID: 1<br>
DEBUG [L0069] [255ms]:	<b>APIAuthentication::Login()</b>: Success, Session ID: 8021840485bce201ea8a7c5e4842b7733d1d4bc1<br>
DEBUG [L0146] [256ms]:	<b>[Function]()</b>: Server Response Time: 0.99049997329712<br>
---------------[ 28-Jan-2014 13:54:30 +0900 (PID: 6420) ]---------------

Re: New Version only English??

Posted: Mon Mar 03, 2014 11:04 pm
by Yajasi
Sorry the last upload was incomplete. I hope this one will help with troubleshooting.

We have now upgraded to version 7.3.1 and are still having the same problem. Attached is the log file that was created when we were attempting to change the language from the User Preferences dialog from the My Account section.

Re: New Version only English??

Posted: Wed Mar 05, 2014 1:37 pm
by shaunw
What language are you trying to use, and for what country? Do you have that locale installed in Ubuntu?

Re: New Version only English??

Posted: Sun Mar 09, 2014 4:46 pm
by Yajasi
It doesn't matter which language we choose, it won't work ... however ...
Do you have that locale installed in Ubuntu?
Aha! - that was the problem. As soon as we installed the locale in Ubuntu the other language became available. Now we know that in order for a language to work in TimeTrex, the same locale has to be enabled in Ubuntu. Thanks for the guidance!!