Bug #605

New Swedish language file causes strange problems wil umlauts

Added by Ingemar Nilsson about 2 years ago. Updated over 1 year ago.

Status:Closed Start date:
Priority:Major Due date:
Assignee:Garry Nutting % Done:

0%

Category:i18n Issues
Target version:Evolution-1.0.3
JiraID:MODX-1802 Resolution:Fixed
Environment:Server: CentOS 5.2, httpd-2.2.3-31.el5.centos.2, php-5.1.6-23.2.el5_3, mysql-server-5.0.45-7.el5<br/>
Client: Mac OS X 10.5.8, Firefox 3.6.2<br/>
Affects Evolution Version:Evolution-1.0.3

Description

I live in Sweden, where we have the special letters ÅÄÖåäö, and those broke in my content when I upgraded MODx from 0.9.6.2 to 1.0.2. I made some experiments, and came to an interesting conclusion: There is (probably) nothing wrong with the upgrade scripts. Why? I had an instance of the old 0.9.6.2 site, with the manager loaded in my web browser. Then I copied the MODx 1.0.2 files onto this site, and reloaded the page. All ÅÄÖåäö characters were immediately converted into strange double-character combinations that usually arise when UTF-8 is interpreted as ISO-8859-1. And I didn't run the upgrade scripts. I have now determined that the new Swedish language file is the cause of this problem. By substituting the 1.0.2 /manager/includes/lang/svenska.inc.php with the 0.9.6.2 version of that file, the strange character problem disappears. Now it has been a few days since I did the above, and everything works fine except some strings in the manager are in English instead of Swedish, which of course is understandable since I'm using the old language file.

History

Updated by Garry Nutting about 2 years ago

Should be fixed by language file update from MODX-1803 .

Updated by Ingemar Nilsson about 2 years ago

There may be more language files with this problem. I originally posted the above issue in the MODx forums, as an answer to another post about the same problem with German umlauts: http://modxcms.com/forums/index.php/topic,42244.0.html The German language file may have the same problem, if I read the original poster right.

Also available in: Atom PDF