Three short issues:
1) Non-English language support does not seem to be working. If I set "Language" at login or in preferences, it reverts to "English" every time. We have a number of Spanish-speaking employees that may benefit from Spanish language support.
2) Timesheet > Punches opens an empty page at http://server/timetrex/interface/punch/PunchList.php when opened in Firefox. In Internet Explorer, it is generating a Server 500 error.
3) Schedule > Scheduled Shifts opens an empty page at http://server/timetrex/interface/schedu ... leList.php when opened in Firefox. In Internet Explorer, this also generates a Server 500 error.
Can anyone help me with one or all of these things? Thanks!
Jim
Misc. Items: Language support, Punches, Shifts
-
- Posts: 24
- Joined: Mon Nov 16, 2009 8:43 am
Re: Misc. Items: Language support, Punches, Shifts
You didn't supply any specific information about your platform, or TimeTrex version, so I can only make random shots in the dark to help you.
This is likely caused by your operating system not having proper support for Spanish locales. If TimeTrex can't switch locales at the operating system level it defaults back to english.1) Non-English language support does not seem to be working. If I set "Language" at login or in preferences, it reverts to "English" every time. We have a number of Spanish-speaking employees that may benefit from Spanish language support.
I'm going to guess that you are using MySQL with the legacy PHP driver, try switching to the MySQLi driver in the timetrex.ini.php file instead.2) Timesheet > Punches opens an empty page at http://server/timetrex/interface/punch/PunchList.php when opened in Firefox. In Internet Explorer, it is generating a Server 500 error.
3) Schedule > Scheduled Shifts opens an empty page at http://server/timetrex/interface/schedu ... leList.php when opened in Firefox. In Internet Explorer, this also generates a Server 500 error.
-
- Posts: 24
- Joined: Mon Nov 16, 2009 8:43 am
Re: Misc. Items: Language support, Punches, Shifts
My apologies, Shaun.
TimeTrex Standard 3.0.1 running on Ubuntu Linux 8.04 Server LTS with LAMP preinstallation with MySQL.
I'll investigate language support at the OS level and the MySQLi driver. Thanks for the quick response!
EDIT:
I assume this is where I need to change my driver:
timetrex.ini.php
Just change that to "mysqli"? Is this safe to do in a running environment?
TimeTrex Standard 3.0.1 running on Ubuntu Linux 8.04 Server LTS with LAMP preinstallation with MySQL.
I'll investigate language support at the OS level and the MySQLi driver. Thanks for the quick response!
EDIT:
I assume this is where I need to change my driver:
timetrex.ini.php
Code: Select all
[database]
type = mysqlt
Last edited by jgolightly on Thu Dec 31, 2009 3:15 pm, edited 1 time in total.
Re: Misc. Items: Language support, Punches, Shifts
We definitely recommend upgrading to v3.0.4 while you are at it.
-
- Posts: 24
- Joined: Mon Nov 16, 2009 8:43 am
Re: Misc. Items: Language support, Punches, Shifts
Changed type to "mysqli", backed up the tmp (cache) directory and cleared it out. Punch List and Scheduled Shifts are working now. Thanks!
I'll investigate language support tomorrow. Have a Happy New Year, and thanks for all your help, Shaun!
I'll investigate language support tomorrow. Have a Happy New Year, and thanks for all your help, Shaun!
-
- Posts: 24
- Joined: Mon Nov 16, 2009 8:43 am
Re: Misc. Items: Language support, Punches, Shifts
Good evening! I have successfully upgraded to 3.0.4 and installed the Ubuntu/Debian packages "language-support-es" and "language-pack-es", however I am unsure what else is necessary to provide Spanish language support in TimeTrex. The drop-down menu for language selection at login and in Preferences now correctly shows language selection (i.e. if I switch to Spanish, the languages change to "Ingles" and "Espanol" as appropriate), however the rest of TimeTrex remains in English.
Can you point me toward any resources that may remedy the issue? Thanks again!
Can you point me toward any resources that may remedy the issue? Thanks again!
Re: Misc. Items: Language support, Punches, Shifts
Search the Ubuntu forums/docs (or this forum) for locale-gen, that is a good starting point. Also enable debugging mode as per the FAQ: http://forums.timetrex.com/viewtopic.php?f=6&t=89, if you paste the debug output here, it will help determine whats going on.
-
- Posts: 24
- Joined: Mon Nov 16, 2009 8:43 am
Re: Misc. Items: Language support, Punches, Shifts
Shaun,
Thanks for the assistance. I ran
$ sudo locale-gen es_ES
$ sudo dpkg-reconfigure locales
as per this thread: http://forums.timetrex.com/viewtopic.php?t=1333
Spanish is now working. Thanks again!
Jim
Thanks for the assistance. I ran
$ sudo locale-gen es_ES
$ sudo dpkg-reconfigure locales
as per this thread: http://forums.timetrex.com/viewtopic.php?t=1333
Spanish is now working. Thanks again!
Jim