1 gcasanova Dec 08, 2009 01:09
3 gcasanova Dec 08, 2009 01:22
There is also a Spanish Locale File: Spanish (es-VE) by Larry Nieves http://b2evolution.net/downloads/3.3/locales/es_VE.zip but its Character Encoding is UTF-8 which doesn't always work in many browsers, Is there a way of changing this locale to iso-8859-1?
4 austriaco Dec 08, 2009 14:58
Hi gcasanova,
utf-8 works ok with all mayor browsers. Maybe your database is not in utf-8 in which case you would have to convert it to utf-8.
If that's not possible, then you can convert the language file instead:
iconv -f utf-8 -t iso-8859-1 -o locales/es_VE/_global.iso8859-1.php locales/es_VE/_global.php
Next, edit at the top of the _global.iso8859-1.php file and change the following line, so that the proper character set is used (iso-8859-1):
'__meta__' => array('format_version'=>1, 'charset'=>'utf-8'),
ie., after the change, it should be:
'__meta__' => array('format_version'=>1, 'charset'=>'iso-8859-1'),
save the changes and now rename locales/es_VE/_global.iso8859-1.php into locales/es_VE/_global.php (previously saving the original _global.php just in case.)
That should do it. But be warned, I haven't tested the previous steps myself, since I have all my databases and b2evo installations in UTF-8 since 3 years ago.
Maybe next time I go into translations of b2evo I will release an ISO-8859-1 version is there's enough demand for it.
Cheers,
5 gcasanova Dec 08, 2009 15:37
Hi Austriaco:
As far as I know, MySQL is in UTF-8.
I'll change your UTF-8 Spanish file and see what happens.
Best Regards[/img]
6 fplanque Dec 08, 2009 17:13
Guillermo,
It is not clear to me what you mean when you say " when upgraded it becomes English ".
When I go to your blog http://www.guillermocasanova.net, I see texts like " Canal RSS para los comentarios de este artÃculo. "
That, to me, means that the localization is perfectly functional.
7 gcasanova Dec 08, 2009 17:32
fplanque:
Thanks for taking the time to review this issue, but it's not my blog the one with problems. It`s two other blogs that have failed to keep its regional settings when upgraded. One, www.anajuliajatar.com seems to be fixed now, I have to check in different browsers and computers to see if that is true. The other, lastunas.com.ve I haven't been able to fix, yet.
The thing is, when upgrading, all former settings should be kept, right? But in this cases, the language settings have not been kept at all. This is something that never happened to me in prior versions.
Now that you mention it, www.guillermocasanova.net has another unsolved problem addressed here:
http://forums.b2evolution.net/viewtopic.php?t=18739
8 fplanque Dec 10, 2009 05:44
The only thing I can think of is that you had a locale with a specific name and when you upgraded, for some reason, that locale got deleted and you replaced it with another spanish locale with a slightly different name. Is that a possibility?
What did you do on www.anajuliajatar.com that you cannot do on lastunas.com.ve ?
9 gcasanova Dec 11, 2009 17:56
What did you do on www.anajuliajatar.com that you cannot do on lastunas.com.ve ?
The two blogs are in different servers, I will have to check if lastunas.com.ve has MySQL in UTF-8 as is the case in www.anajuliajatar.com
By the way, although "Regional" option says:
Its not happening, nor do I want it to happen.