Page 1 of 1
Problem with lang
Posted: Tue Nov 02, 2004 1:35 pm
by nathaniel61
I' ve installed in Easyphp and it works fine. All translated in italian.
But when I've installed on web server dates appair in english and not in italian. what is the problem?
Re: Problem with lang
Posted: Tue Nov 02, 2004 2:10 pm
by garvinhicking
You seem to be missing the italian locale file on your webserver. it_IT or what is called need to be generated on your server via localegen or other tools to tell php how to format a date according to italian...
If you don't have control over the webserver, please ask your provider to install the locale for you, that should not be troublesome.
Best regards,
Garvin.
Posted: Sun Nov 14, 2004 8:05 am
by CapriSkye
anyone know a good tutorial on how to install locale? im having trouble find any tutorial online. thanks.
Posted: Mon Nov 15, 2004 12:17 pm
by garvinhicking
That depends on your OS. In Debian Linux its easy to do with "dpkg-reconfigure locales". On other systems, I can't tell...
Regards,
Garvin.
Posted: Thu Dec 02, 2004 3:31 pm
by Guest
Hello,
I am just installing s9y and found the same system.
I reinstalled the locales for my local language (german).
Do I need to set the default locale for the whole system to de_DE,
or will s9y pick the right date format depending on the language set in the admin panel?
Regards,
Harald
Posted: Thu Dec 02, 2004 3:45 pm
by garvinhicking
s9y picks the locale according to the language specified in the s9y configuration - so you only need to make sure the locales are available; you can leave default locales set to C or whatever you like.
Regards and hope that helps,
Garvin.
Posted: Thu Dec 02, 2004 4:24 pm
by Guest
Thanks for the quick answer.
There is a little inconsistency between debian/unstable and s9y's
serendipity_lang_de.inc.php, though.
debian only knows de_DE-ISO-8859-1, while s9y looks for de_DE-ISO8859-1.
I fixed this manually.
Regards,
Harald
Posted: Thu Dec 02, 2004 5:07 pm
by garvinhicking
You are right, I think it's a bug in the german locale for s9y.
Most setups use 'de_DE' or 'de_DE@Euro' so I think that's why it has yet worked for most setups. But I will fix that in CVS, thanks!
Regards,
Garvin.