Added feature #16258: Add Khmer language to TYPO3 core (Thanks to Keo Visay)
authorSteffen Gebert <steffen.gebert@typo3.org>
Fri, 5 Nov 2010 13:33:00 +0000 (13:33 +0000)
committerSteffen Gebert <steffen.gebert@typo3.org>
Fri, 5 Nov 2010 13:33:00 +0000 (13:33 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9283 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_cs.php
t3lib/config_default.php
t3lib/stddb/tbl_be.php
typo3/sysext/setup/mod/locallang.xml

index fd70cf0..8243411 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-05  Steffen Gebert  <steffen@steffen-gebert.de>
+
+       * Added feature #16258: Add Khmer language to TYPO3 core (Thanks to Keo Visay)
+
 2010-11-04  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Added feature #16257: htmlArea RTE: Rewrite stylesheets parsing functions
index 19bee52..23b63c8 100644 (file)
@@ -280,6 +280,7 @@ class t3lib_cs {
                'it' => 'west_european',        // Italian
                'ja' => 'japanese',
                'kl' => 'west_european',        // Greenlandic
+               'km' => 'unicode',      // Khmer
                'ko' => 'korean',
                'lt' => 'lithuanian',
                'lv' => 'west_european',        // Latvian/Lettish
@@ -335,6 +336,7 @@ class t3lib_cs {
                'ita' => 'west_european',       // Italian
                'its' => 'west_european',       // Italian (Swiss)
                'jpn' => 'japanese',
+               'khm' => 'unicode',     // Khmer
                'kor' => 'korean',
                'lth' => 'lithuanian',
                'lvi' => 'west_european',       // Latvian/Lettish
@@ -388,6 +390,7 @@ class t3lib_cs {
                'hungarian' => 'east_european',
                'icelandic' => 'west_european',
                'italian' => 'west_european',
+               'khmer' => 'unicode',
                'latvian' => 'west_european',
                'lettish' => 'west_european',
                'lithuanian' => 'lithuanian',
@@ -516,6 +519,7 @@ class t3lib_cs {
                'sq' => 'utf-8',
                'ge' => 'utf-8',
                'ga' => '',
+               'km' => 'utf-8',
        );
 
                // TYPO3 specific: Array with the iso names used for each system language in TYPO3:
@@ -2209,4 +2213,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_cs.php']);
 }
 
-?>
\ No newline at end of file
+?>
index 946f918..e1e181c 100644 (file)
@@ -458,7 +458,7 @@ define('TYPO3_extTableDef_script', $typo_db_extTableDef_script);
        //              - Update 'setup' extension labels (sysext/setup/mod/locallang.xml)
        //              - Using translation server? Create new user with username = "language key", member of "translator" group, set to "language key" language.
        // Thats it! Use extension "llxmltranslate" to begin translation. Language pack is automatically created in "typo3conf/l10n/[language key]/"
-define('TYPO3_languages', 'default|dk|de|no|it|fr|es|nl|cz|pl|si|fi|tr|se|pt|ru|ro|ch|sk|lt|is|hr|hu|gl|th|gr|hk|eu|bg|br|et|ar|he|ua|lv|jp|vn|ca|ba|kr|eo|my|hi|fo|fa|sr|sq|ge|ga');
+define('TYPO3_languages', 'default|dk|de|no|it|fr|es|nl|cz|pl|si|fi|tr|se|pt|ru|ro|ch|sk|lt|is|hr|hu|gl|th|gr|hk|eu|bg|br|et|ar|he|ua|lv|jp|vn|ca|ba|kr|eo|my|hi|fo|fa|sr|sq|ge|ga|km');
 
        // Unsetting the configured values. Use of these are deprecated.
 unset($typo_db);
index 7a985a2..4d0da0a 100644 (file)
@@ -320,6 +320,7 @@ $TCA['be_users'] = array(
                                        array('Icelandic', 'is'),
                                        array('Italian', 'it'),
                                        array('Japanese', 'jp'),
+                                       array('Khmer', 'km'),
                                        array('Korean', 'kr'),
                                        array('Latvian', 'lv'),
                                        array('Lithuanian', 'lt'),
@@ -902,4 +903,4 @@ $TCA['sys_news'] = array(
        )
 );
 
-?>
\ No newline at end of file
+?>
index 52c8459..2745687 100755 (executable)
@@ -57,6 +57,7 @@
                        <label index="lang_sq">Albanian</label>
                        <label index="lang_ge">Georgian</label>
                        <label index="lang_ga">Galician</label>
+                       <label index="lang_km">Khmer</label>
                        <label index="default">Default</label>
                        <label index="simulate">Simulate backend user</label>
                        <label index="opening">Startup</label>