FreeBSD setLocalte trouble
-
Hello π
I have a clean instalation of wordpress on a freeBSD webhosting. I upload the es_ES.mo translation and I configure the “define (‘WPLANG’, ‘es_ES’);” then the webpage appears in spanish (GREAT!), my surprise comes when i see the “DATE FORMATS” (mainly the months) because it appears in english, because the correct setLocale on freeBSD is not ‘es_ES’, is just ‘es_ES.ISO8859-15’ but if i change to the correct set locale for the spanish code, my web appears in english, and my dates appears in spanish.
I figure that the only I need to do is change the setLocale var on the getText.php archive, but i’m a web developer and i know what to do, but you know that the wordpress blog is used by lots of people with a null knowledge of php or webscripting.
This post is just to explain the “bug” and I proppose an implementation of two WPLANG vars (WPLANG and WPSETLOCALE), for example (one for the .mo and other for the date formats).
Thanks for reading.
Marc Palau
The topic ‘FreeBSD setLocalte trouble’ is closed to new replies.