[TYPO3] Problems with translation of months/days i tt_news (locale_all/setlocale)

Erik Svendsen erik at linnearad.no
Tue May 30 09:14:16 CEST 2006


Hi list!

Hope someone can give me some advice on this problem.

I have a problem on my new production server where tt_news sometimes shows 
the month and days name in English, and sometimes in Norwegian. Norwegian 
should be used every time. And there is no logic in when the different language 
is used.

My language configuration is (root template -TS setup):

# defining the default language - to norwegian
config.locale_all = no_NO
config.language = no

I have tried with changing the locale_all to nb_NO, norwegian, and also tried 
with other languages with exactly the same results. But locale_all no_NO 
seems to be the choice who most times gives Norwegian months.

My production server is running Debian 3.1, PHP 5.1.2-1, Apache 2.0.55, MySQL 
5.0.20. TYPO3 4.0, tt_news 2.3.6

locale -a on the server gives the following results.
bokmal
bokmål
C
da_DK.utf8
de_DE.utf8
en_US
en_US.iso88591
en_US.utf8
nb_NO
nb_NO.iso88591
no_NO
no_NO.iso88591
no_NO.ISO-8859-1
no_NO.utf8
norwegian
POSIX
sv_SE
sv_SE.iso88591
sv_SE.utf8
swedish

And locale gives following results.
LANG=en_US
LANGUAGE=en_NO:en_US:en_GB:en
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

That standard locale is en_US shouldn't have anything to say, as long as 
the necessary locales are there. And i have reconfigured with dpkg-reconfigure 
locales to try to solve the problem.

I'm not able to isolate the problem to server configuration, version of PHP 
or TYPO3. On my development/testing server with FC4 everything works like 
it should.

WBR,

Erik Svendsen





More information about the TYPO3-english mailing list