A few issues with locale

General stuff of the Tine 2.0 effort

A few issues with locale

Postby Gurney » Mon Aug 27, 2012 3:27 pm

Hi,

I'm meeting 2 problems with locales:
- date format doesn't work anymore in all applications (appears blank though it is stored correctly)
- localization doesn't work anymore either (probably a "value" related problem inside the database, and it's probably linked with the problem above)

All of these with the latest git.

Here's what the log says:

Code: Select all
af923 -- none -- - 2012-08-21T14:28:31+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::950 given localeString 'auto'
af923 -- none -- - 2012-08-21T14:28:31+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::959 session value: fr
af923 -- none -- - 2012-08-21T14:28:31+00:00 INFO (6): Tinebase_Core::setupUserLocale::989 Setting user locale: fr
af923 -- none -- - 2012-08-21T14:28:31+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::1001 Setting CTYPE locale from "C" to "en_US.UTF8".


And then:
Code: Select all
a27e7 -- none -- - 2012-08-21T14:29:05+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::950 given localeString 'auto'
a27e7 -- none -- - 2012-08-21T14:29:05+00:00 DEBUG (7): Tinebase_Translation::getLocale::196 given localeString 'auto'
a27e7 -- none -- - 2012-08-21T14:29:05+00:00 DEBUG (7): Tinebase_Translation::getLocale::208 'en' is not supported, checking fallback
a27e7 -- none -- - 2012-08-21T14:29:05+00:00 DEBUG (7): Tinebase_Translation::getLocale::231 selected locale: 'en'
a27e7 -- none -- - 2012-08-21T14:29:05+00:00 INFO (6): Tinebase_Core::setupUserLocale::989 Setting user locale: en
a27e7 -- none -- - 2012-08-21T14:29:05+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::1001 Setting CTYPE locale from "C" to "en_US.UTF8".


I *think* it may be a bug in the values. Maybe you have renamed "en" to "en_US" or something a little while back and my database didn't get updated.

Should I open a bug?
Gurney
 
Posts: 100
Joined: Sat Apr 10, 2010 12:40 pm

Re: A few issues with locale

Postby ph_il » Tue Aug 28, 2012 10:51 am

yup, please open a bugreport.

at least the log statement ("en is not supported") is wrong ... but I'm not sure if that changed since Milan.

the date format seems to be a different issue, perhaps you should add a second report for this.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.officespot20.com (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3450
Joined: Fri Mar 07, 2008 11:41 am


Return to General [English]

Who is online

Users browsing this forum: No registered users and 2 guests

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »