hello!
according to the point which is explained in the FAQ´s, which says:
...
To display date and time formats specific to national conventions, Serendipity uses a system called "Locales". This system is both available on Linux and Windows and adjusts the native language of the system. A system can contain multiple locales to choose from, and Serendipity employs them via the "LOCALES" constant found in your lang/serendipity_lang_XX.inc.php....
spanish language is installed under "locales". i use windows. i changed the blog language into spanish, but the date is displayed in finnish (or some other nordish language) for example: thursday the 14th - Neljapäev, 14 de juuni del 2007. Every other languages are working without any mistakes. Is there a description, how i can fix the problem?
Thanks!
Jensemann
date is displayed in finnish in spanish blog
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: date is displayed in finnish in spanish blog
Hi!
Might be that some of the declared locales for spanish is mixed up with that swedish language?
In the spanish file, those locales are used:
ISO: es_ES.ISO8859-15, es_ES.ISO8859-1, spanish, sp, es, es_ES, es-ES, es_ES.ISO_8859-15, es_ES.ISO_8859-1
UTF: es_ES.UTF8, es_ES.ISO8859-1, spanish, sp, es, es_ES, es-ES, es_ES.ISO_8859-15, es_ES.ISO_8859-1
Maybe this 'sp' locale is used on your setup and contains a different declaration?
Regards,
Garvin
Might be that some of the declared locales for spanish is mixed up with that swedish language?
In the spanish file, those locales are used:
ISO: es_ES.ISO8859-15, es_ES.ISO8859-1, spanish, sp, es, es_ES, es-ES, es_ES.ISO_8859-15, es_ES.ISO_8859-1
UTF: es_ES.UTF8, es_ES.ISO8859-1, spanish, sp, es, es_ES, es-ES, es_ES.ISO_8859-15, es_ES.ISO_8859-1
Maybe this 'sp' locale is used on your setup and contains a different declaration?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks,
that was right. I think it is relevant for bloggers who have a german server. The german "locales" uses "es" for estnish language. the date was not finnish.
You have to overwrite the spanish php language file under folder "utf8" and replace all "es" into sp for spanish. There seems to be no international standard that "es" means spanish.
UTF: es_ES.UTF8, es_ES.ISO8859-1, spanish, sp, es, es_ES, es-ES, es_ES.ISO_8859-15, es_ES.ISO_8859-1
after change:
UTF: sp_SP.UTF8, sp_SP.ISO8859-1, spanish, sp, sp, sp_SP, sp-SP, sp_SP.ISO_8859-15, sp_SP.ISO_8859-1
it works!
Jensemann
that was right. I think it is relevant for bloggers who have a german server. The german "locales" uses "es" for estnish language. the date was not finnish.
You have to overwrite the spanish php language file under folder "utf8" and replace all "es" into sp for spanish. There seems to be no international standard that "es" means spanish.
UTF: es_ES.UTF8, es_ES.ISO8859-1, spanish, sp, es, es_ES, es-ES, es_ES.ISO_8859-15, es_ES.ISO_8859-1
after change:
UTF: sp_SP.UTF8, sp_SP.ISO8859-1, spanish, sp, sp, sp_SP, sp-SP, sp_SP.ISO_8859-15, sp_SP.ISO_8859-1
it works!
Jensemann