Added Albanian language to TYPO3
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Wed, 29 Aug 2007 13:46:34 +0000 (13:46 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Wed, 29 Aug 2007 13:46:34 +0000 (13:46 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2468 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 0b8ba4a..2137c65 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-23  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Added Albanian language to TYPO3
+
 2007-08-28  Kasper Skaarhoj  <kasper2007@typo3.com>
 
        * Improvements as announced in June on the core list (except workspace moving)
index c518e98..13750eb 100755 (executable)
@@ -287,6 +287,7 @@ class t3lib_cs {
                'sl' => 'east_european',        // Slovenian
                'sr' => 'cyrillic',             // Serbian
                'sv' => 'west_european',        // Swedish
+               'sq' => 'albanian', // Albanian
                'th' => 'thai',
                'uk' => 'cyrillic',             // Ukranian
                'vi' => 'vietnamese',
@@ -345,10 +346,12 @@ class t3lib_cs {
                'esm' => 'west_european',       // Spanish (Mexican)
                'esn' => 'west_european',       // Spanish (internat. sort)
                'sve' => 'west_european',       // Swedish
+               'sqi' => 'albanian',            // Albanian
                'tha' => 'thai',
                'trk' => 'turkish',
                'ukr' => 'cyrillic',    // Ukrainian
                        // English language names
+               'albanian' => 'albanian',
                'arabic' => 'arabic',
                'basque' => 'west_european',
                'bosnian' => 'east_european',
@@ -414,6 +417,7 @@ class t3lib_cs {
                'trad_chinese' => 'big5',
                'vietnamese' => '',
                'unicode' => 'utf-8',
+               'albanian' => 'utf-8'
        );
 
                // mapping of language (family) names to charsets on Windows
@@ -435,6 +439,7 @@ class t3lib_cs {
                'japanese' => 'shift_jis',
                'simpl_chinese' => 'gb2312',
                'trad_chinese' => 'big5',
+               'albanian' => 'windows-1250'
        );
 
                // mapping of locale names to charsets
@@ -495,7 +500,8 @@ class t3lib_cs {
                'hi' => 'utf-8',
                'fo' => 'utf-8',
                'fa' => 'utf-8',
-               'sr' => 'utf-8'
+               'sr' => 'utf-8',
+               'sq' => 'utf-8'
        );
 
                // TYPO3 specific: Array with the iso names used for each system language in TYPO3:
index 5016140..7c0ec2d 100755 (executable)
@@ -287,7 +287,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');
+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');
 
        // Unsetting the configured values. Use of these are deprecated.
 unset($typo_db);
index 84fb710..58d92a8 100755 (executable)
@@ -286,6 +286,7 @@ $TCA['be_users'] = Array (
                                'type' => 'select',
                                'items' => Array (
                                        Array('English', ''),
+                                       Array('Albanian', 'sq'),
                                        Array('Arabic', 'ar'),
                                        Array('Basque', 'eu'),
                                        Array('Bosnian', 'ba'),
index 741afca..5977b4a 100755 (executable)
@@ -54,6 +54,7 @@
                        <label index="lang_fo">Faroese</label>
                        <label index="lang_fa">Persian</label>
                        <label index="lang_sr">Serbian</label>
+                       <label index="lang_sq">Albanian</label>
                        <label index="default">Default</label>
                        <label index="simulate">Simulate backend user</label>
                        <label index="opening">Startup</label>