#10888: no support for Unix locales Norwegian bokmal and nynorsk
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 10 Apr 2009 18:27:35 +0000 (18:27 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 10 Apr 2009 18:27:35 +0000 (18:27 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5312 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_cs.php

index 5d3da20..cb44bf6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
+
 2009-04-10  Martin Kutschker  <masi@typo3.org>
 
        * Fixed bug #10866: extra extJS onready code not loaded with template.php
        * Fixed bug #10867: extJS localization doesn't work
        * Fixed bug #9076: iso-ir-109 detected as iso-8859-2 instead of iso-8859-3
+       * Added feature #10888: support for Unix locales Norwegian bokmal and nynorsk
 
 2009-04-09  Stanislas Rolland  <typo3@sjbr.ca>
 
index 46b1125..96250b9 100644 (file)
@@ -252,12 +252,9 @@ class t3lib_cs {
                'ucs4' => 'ucs-4',
        );
 
-               // mapping of iso-639:2 language codes to script names
+               // mapping of iso-639-1 language codes to script names
        var $lang_to_script=array(
-                       // iso-639:2 language codes, see:
-                       //  http://www.w3.org/WAI/ER/IG/ert/iso639.htm
-                       //  http://www.loc.gov/standards/iso639-2/langcodes.html
-                       //  http://www.unicode.org/onlinedat/languages.html
+                       // iso-639-1 language codes, see http://www.loc.gov/standards/iso639-2/php/code_list.php
                'ar' => 'arabic',
                'bg' => 'cyrillic',             // Bulgarian
                'bs' => 'east_european',        // Bosnian
@@ -289,6 +286,8 @@ class t3lib_cs {
                'lv' => 'west_european',        // Latvian/Lettish
                'nl' => 'west_european',        // Dutch
                'no' => 'west_european',        // Norwegian
+               'nb' => 'west_european',        // Norwegian Bokmal
+               'nn' => 'west_european',        // Norwegian Nynorsk
                'pl' => 'east_european',        // Polish
                'pt' => 'west_european',        // Portuguese
                'ro' => 'east_european',        // Romanian