Fix the amixer scontrols parser in config_mixer
[grml-autoconfig.git] / language-functions
index 34a6d45..3f4091f 100644 (file)
@@ -3,12 +3,15 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Sam Sep 23 18:46:39 CEST 2006 [mika]
 ################################################################################
 
 # The default language/keyboard to use. This CAN NOT be autoprobed.
 case "$LANGUAGE" in
-        at)
+        C|POSIX)
+                LANG="C"
+                LANGUAGE="C"
+                ;;
+        at-iso)
                 # Austrian version
                 COUNTRY="at"
                 LANG="de_AT@euro"
@@ -20,7 +23,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr"
                 TZ="Europe/Vienna"
                 ;;
-        at-utf8)
+        at|at-utf8)
                 # Austrian version (UTF8)
                 COUNTRY="at"
                 LANG="de_AT.UTF-8"
@@ -33,7 +36,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr"
                 TZ="Europe/Vienna"
                 ;;
-        au)
+        au-iso)
                 # Australian version
                 LANGUAGE="en"
                 COUNTRY="au"
@@ -46,7 +49,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr"
                 TZ="Australia/Sydney"
                 ;;
-        au-utf8)
+        au|au-utf8)
                 # Australian version (UTF8)
                 LANGUAGE="en_AU:en"
                 COUNTRY="au"
@@ -59,9 +62,59 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr"
                 TZ="Australia/Sydney"
                 ;;
-        be)
-                # Belgian version
-                LANGUAGE="be"
+        be-iso|bed-iso)
+                # Belgian version (default and dutch one)
+                LANGUAGE="nl"
+                COUNTRY="be"
+                LANG="C"
+                KEYTABLE="be2-latin1"
+                XKEYBOARD="be"
+                KDEKEYBOARD="be"
+                CHARSET="iso8859-15"
+                KDEKEYBOARDS="us,de,fr"
+                TZ="Europe/Brussels"
+                ;;
+        be|be-utf8|bed|bed-utf8)
+                # Belgian version (default and dutch one) (UTF8)
+                LANGUAGE="nl_BE:nl"
+                COUNTRY="be"
+                LANG="nl_BE.UTF-8"
+                KEYTABLE="be2-latin1"
+                XKEYBOARD="be"
+                KDEKEYBOARD="be"
+                CHARSET="utf8"
+                # Additional KDE Keyboards
+                KDEKEYBOARDS="us,de,fr"
+                TZ="Europe/Brussels"
+                ;;
+        bef-iso)
+                # Belgian version (french)
+                LANGUAGE="fr"
+                COUNTRY="be"
+                LANG="C"
+                KEYTABLE="be2-latin1"
+                XKEYBOARD="be"
+                KDEKEYBOARD="be"
+                CHARSET="iso8859-15"
+                KDEKEYBOARDS="us,de,fr"
+                TZ="Europe/Brussels"
+                ;;
+        bef|bef-utf8)
+                # Belgian version (french) (UTF8)
+                LANGUAGE="fr_BE:fr"
+                COUNTRY="be"
+                LANG="fr_BE.UTF-8"
+                KEYTABLE="be2-latin1"
+                XKEYBOARD="be"
+                KDEKEYBOARD="be"
+                CHARSET="utf8"
+                # Additional KDE Keyboards
+                KDEKEYBOARDS="us,de,fr"
+                TZ="Europe/Brussels"
+                ;;
+        beg-iso)
+                # Belgian version (german)
+                LANGUAGE="de"
                 COUNTRY="be"
                 LANG="C"
                 KEYTABLE="be2-latin1"
@@ -71,11 +124,11 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,de,fr"
                 TZ="Europe/Brussels"
                 ;;
-        be-utf8)
-                # Belgian version (UTF8)
-                LANGUAGE="be_BY:be"
+        beg|beg-utf8)
+                # Belgian version (german) (UTF8)
+                LANGUAGE="de_BE:de"
                 COUNTRY="be"
-                LANG="be_BY.UTF-8"
+                LANG="de_BE.UTF-8"
                 KEYTABLE="be2-latin1"
                 XKEYBOARD="be"
                 KDEKEYBOARD="be"
@@ -84,7 +137,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,de,fr"
                 TZ="Europe/Brussels"
                 ;;
-        bg)
+        bg-iso)
                 # Bulgarian version
                 LANGUAGE="bg"
                 COUNTRY="bg"
@@ -96,7 +149,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,de,fr"
                 TZ="Europe/Sofia"
                 ;;
-        bg-utf8)
+        bg|bg-utf8)
                 # Bulgarian version (UTF8)
                 LANGUAGE="bg_BG:bg"
                 COUNTRY="bg"
@@ -109,7 +162,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,de,fr"
                 TZ="Europe/Sofia"
                 ;;
-        br)
+        br-iso)
                 # Brazilian Version
                 LANGUAGE="pt_BR"
                 COUNTRY="br"
@@ -122,7 +175,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,br"
                 TZ="America/Sao_Paulo"
                 ;;
-        br-utf8)
+        br|br-utf8)
                 # Brazilian Version (UTF8)
                 LANGUAGE="pt_BR:pt"
                 COUNTRY="br"
@@ -135,7 +188,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,br"
                 TZ="America/Sao_Paulo"
                 ;;
-        ch)
+        ch-iso)
                 # Swiss version
                 LANGUAGE="de"
                 COUNTRY="ch"
@@ -147,14 +200,14 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="de,us,fr"
                 TZ="Europe/Zurich"
                 ;;
-        ch-utf8)
+        ch|ch-utf8)
                 # Swiss version (basically de with some modifications)
                 LANGUAGE="de_CH:de"
                 COUNTRY="ch"
                 LANG="de_CH.UTF-8"
                 KEYTABLE="sg-latin1"
-                XKEYBOARD="de_CH"
-                KDEKEYBOARD="de_CH"
+                XKEYBOARD="ch"
+                KDEKEYBOARD="ch"
                 CHARSET="utf8"
                 # Additional KDE Keyboards
                 KDEKEYBOARDS="de,us,fr"
@@ -167,13 +220,13 @@ case "$LANGUAGE" in
                 LANG="fr_FR.ISO-8859-1"
                 KEYTABLE="cf"
                 CHARSET="iso8859-1"
-                CONSOLEFONT="lat1-16"
+                CONSOLEFONT="Lat15-Terminus16"
                 XKEYBOARD="ca_enhanced"
                 KDEKEYBOARD="ca_enhanced"
                 KDEKEYBOARDS="us"
-                TZ="AMERICA/MONTREAL"
+                TZ="America/Montreal"
                 ;;
-        cn)
+        cn-iso)
                 # Simplified Chinese version
                 COUNTRY="cn"
                 LANG="zh_CN.GB2312"
@@ -185,7 +238,7 @@ case "$LANGUAGE" in
                 XMODIFIERS="@im=Chinput"
                 TZ="Asia/Shanghai"
                 ;;
-        cn-utf8)
+        cn|cn-utf8)
                 # Simplified Chinese version (UTF8)
                 COUNTRY="zh_CN:cn"
                 LANG="zh_CN.UTF-8"
@@ -198,7 +251,7 @@ case "$LANGUAGE" in
                 XMODIFIERS="@im=Chinput"
                 TZ="Asia/Shanghai"
                 ;;
-        cs|cz)
+        cs-iso|cz-iso)
                 # Czech version
                 LANGUAGE="cs"
                 COUNTRY="cs"
@@ -212,7 +265,7 @@ case "$LANGUAGE" in
                 CONSOLEFONT="Lat2-Terminus16"
                 CHARMAP="iso02"
                 ;;
-        cs-utf8|cz-utf8)
+        cs|cz|cs-utf8|cz-utf8)
                 # Czech version (UTF8)
                 LANGUAGE="cs_CZ:cs"
                 COUNTRY="cs"
@@ -226,7 +279,7 @@ case "$LANGUAGE" in
                 TZ="Europe/Prague"
                 CONSOLEFONT="iso02g"
                 ;;
-        de)
+        de-iso)
                 # German version
                 COUNTRY="de"
                 LANG="de_DE@euro"
@@ -238,7 +291,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr"
                 TZ="Europe/Berlin"
                 ;;
-        de-utf8)
+        de|de-utf8)
                 # German version (UTF8)
                 COUNTRY="de"
                 LANG="de_DE.UTF-8"
@@ -251,7 +304,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr"
                 TZ="Europe/Berlin"
                 ;;
-        dk|da)
+        dk-iso|da-iso)
                 # Dansk version
                 COUNTRY="dk"
                 LANG="da_DK"
@@ -265,7 +318,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="dk,de,us,fr"
                 TZ="Europe/Copenhagen"
                 ;;
-        dk-utf8|da-utf8)
+        dk|da|dk-utf8|da-utf8)
                 # Dansk version (UTF8)
                 COUNTRY="dk"
                 LANG="da_DK.UTF-8"
@@ -280,21 +333,46 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="dk,de,us,fr"
                 TZ="Europe/Copenhagen"
                 ;;
-        en)
-                # English in Austria [see us + uk for american and english version!]
+        dvorak|dvorak-utf8)
+                # Dvorak layout (UTF8)
+                LANGUAGE="us"
+                COUNTRY="at"
+                LANG="en_US.UTF-8"
+                KEYTABLE="dvorak"
+                XKEYBOARD="dvorak"
+                KDEKEYBOARD="dvorak,us,de"
+                CHARSET="utf8"
+                KDEKEYBOARDS="dvorak,us,de,fr"
+                TZ="UTC"
+                ;;
+        dvorak-iso)
+                # Dvorak layout (ISO)
                 LANGUAGE="us"
                 COUNTRY="at"
                 LANG="en_US.iso885915"
+                KEYTABLE="dvorak"
+                XKEYBOARD="dvorak"
+                KDEKEYBOARD="dvorak,us,de"
+                CHARSET="iso8859-15"
+                KDEKEYBOARDS="dvorak,us,de,fr"
+                TZ="UTC"
+                ;;
+        en-iso)
+                # English in Austria [see us + uk for american and english version!]
+                # LANGUAGE="en_US:en_GB:en"
+                LANGUAGE="en"
+                COUNTRY="at"
+                LANG="en_US.iso885915"
                 KEYTABLE="us"
                 XKEYBOARD="us"
                 KDEKEYBOARD="us"
                 CHARSET="iso8859-15"
                 KDEKEYBOARDS="de,fr"
-                TZ="Europe/Vienna"
+                TZ="UTC"
                 ;;
-        en-utf8)
+        en|en-utf8)
                 # English in Austria [see us + uk for american and english version!] (UTF8)
-                LANGUAGE="us"
+                LANGUAGE="en"
                 COUNTRY="at"
                 LANG="en_US.UTF-8"
                 KEYTABLE="us"
@@ -303,9 +381,9 @@ case "$LANGUAGE" in
                 CHARSET="utf8"
                 # Additional KDE Keyboards
                 KDEKEYBOARDS="de,fr"
-                TZ="Europe/Vienna"
+                TZ="UTC"
                 ;;
-        el)
+        el-iso)
                 # Greek version
                 LANGUAGE="el"
                 COUNTRY="gr"
@@ -322,7 +400,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="el"
                 TZ="Europe/Athens"
                 ;;
-        el-utf8)
+        el|el-utf8)
                 # Greek version (UTF8)
                 LANGUAGE="el_GR:el"
                 COUNTRY="gr"
@@ -339,7 +417,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="el"
                 TZ="Europe/Athens"
                 ;;
-        es)
+        es-iso)
                 # Spanish version
                 COUNTRY="es"
                 LANG="es_ES@euro"
@@ -350,7 +428,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="de,us,fr"
                 TZ="Europe/Madrid"
                 ;;
-        es-utf8)
+        es|es-utf8)
                 # Spanish version (UTF8)
                 LANGUAGE="es_ES:es"
                 COUNTRY="es"
@@ -362,9 +440,9 @@ case "$LANGUAGE" in
                 # Additional KDE Keyboards
                 KDEKEYBOARDS="de,us,fr"
                 TZ="Europe/Madrid"
-                CONSOLEFONT="lat10-16"
+                CONSOLEFONT="Lat15-Terminus16"
                 ;;
-        fi)
+        fi-iso)
                 # Finnish version
                 COUNTRY="fi"
                 LANG="fi_FI@euro"
@@ -375,7 +453,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="se,us"
                 TZ="Europe/Helsinki"
                 ;;
-        fi-utf8)
+        fi|fi-utf8)
                 # Finnish version (UTF8)
                 LANGUAGE="fi_FI:fi"
                 COUNTRY="fi"
@@ -388,7 +466,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us"
                 TZ="Europe/Helsinki"
                 ;;
-        fr)
+        fr-iso)
                 # French version
                 COUNTRY="fr"
                 LANG="fr_FR@euro"
@@ -399,7 +477,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="de,us"
                 TZ="Europe/Paris"
                 ;;
-        fr-utf8)
+        fr|fr-utf8)
                 # French version (UTF8)
                 LANGUAGE="fr_FR"
                 COUNTRY="fr"
@@ -412,7 +490,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="de,us"
                 TZ="Europe/Paris"
                 ;;
-        ga)
+        ga-iso)
                 # Irish Gaeilge version
                 COUNTRY="ie"
                 LANG="ga_IE@euro"
@@ -424,7 +502,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="gb,us,de,es,fr,it"
                 TZ="Europe/Dublin"
                 ;;
-        ga-utf8)
+        ga|ga-utf8)
                 # Irish Gaeilge version (UTF8)
                 COUNTRY="ie"
                 LANG="ga_IE@UTF-8"
@@ -436,7 +514,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="gb,us,de,es,fr,it"
                 TZ="Europe/Dublin"
                 ;;
-        he|il)
+        he-iso|il-iso)
                 # Hebrew version
                 LANGUAGE="he"
                 COUNTRY="il"
@@ -448,7 +526,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr,de"
                 TZ="Asia/Jerusalem"
                 ;;
-        he-utf8|il-utf8)
+        he|il|he-utf8|il-utf8)
                 # Hebrew version (UTF8)
                 LANGUAGE="he_IL:he"
                 COUNTRY="il"
@@ -461,7 +539,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,fr,de"
                 TZ="Asia/Jerusalem"
                 ;;
-        ie)
+        ie-iso)
                 # Irish (English) version
                 COUNTRY="ie"
                 LANG="en_IE@euro"
@@ -472,7 +550,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,de,es,fr,it"
                 TZ="Europe/Dublin"
                 ;;
-        ie-utf8)
+        ie|ie-utf8)
                 # Irish (English) version (UTF8)
                 LANGUAGE="en_IE:en"
                 COUNTRY="ie"
@@ -485,7 +563,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="gb,us,de,es,fr,it"
                 TZ="Europe/Dublin"
                 ;;
-        it)
+        it-iso)
                 # Italian version
                 COUNTRY="it"
                 LANG="it_IT@euro"
@@ -496,7 +574,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="fr,us,de"
                 TZ="Europe/Rome"
                 ;;
-        it-utf8)
+        it|it-utf8)
                 # Italian version (UTF8)
                 LANGUAGE="it_IT"
                 COUNTRY="it"
@@ -509,33 +587,35 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="fr,us,de"
                 TZ="Europe/Rome"
                 ;;
-        ja)
+        ja-iso|jp-iso)
                 # (limited) Japanese version
                 COUNTRY="jp"
                 LANG="ja_JP"
                 LANGUAGE="ja"
-                KEYTABLE="us"
-                XKEYBOARD="us"
+                KEYTABLE="jp106"
+                XKEYMODEL="jp106"
+                XKEYBOARD="jp"
                 KDEKEYBOARD="us"
                 CHARSET="iso8859-15"
                 KDEKEYBOARDS="fr,us,de"
                 TZ="Asia/Tokyo"
                 ;;
-        ja-utf8)
+        ja|ja-utf8|jp|jp-utf8)
                 # (limited) Japanese version (UTF8)
                 LANGUAGE="ja_JP:ja"
                 COUNTRY="jp"
                 LANG="ja_JP.UTF-8"
                 LANGUAGE="ja"
-                KEYTABLE="us"
-                XKEYBOARD="us"
+                KEYTABLE="jp106"
+                XKEYMODEL="jp106"
+                XKEYBOARD="jp"
                 KDEKEYBOARD="us"
                 CHARSET="utf8"
                 # Additional KDE Keyboards
                 KDEKEYBOARDS="fr,us,de"
                 TZ="Asia/Tokyo"
                 ;;
-        nl)
+        nl-iso)
                 # Dutch version
                 COUNTRY="nl"
                 LANG="nl_NL@euro"
@@ -546,7 +626,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="nl,de,fr"
                 TZ="Europe/Amsterdam"
                 ;;
-        nl-utf8)
+        nl|nl-utf8)
                 # Dutch version (UTF8)
                 LANGUAGE="nl_NL:nl"
                 COUNTRY="nl"
@@ -559,7 +639,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="nl,de,fr"
                 TZ="Europe/Amsterdam"
                 ;;
-        no|nb|nn)
+        no-iso|nb-iso|nn-iso)
                 # Norsk versjon
                 COUNTRY="no"
                 LANG="nb_NO"
@@ -571,7 +651,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="no-latin1,us,no,no-dvorak"
                 TZ="Europe/Oslo"
                 ;;
-        no-utf8|nb-utf8|nn-utf8)
+        no|nb|nn|no-utf8|nb-utf8|nn-utf8)
                 # Norsk versjon (UTF8)
                 COUNTRY="no"
                 LANG="nb_NO.UTF-8"
@@ -586,7 +666,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="no,us,no-dvorak,dk,no-latin1"
                 TZ="Europe/Oslo"
                 ;;
-        pl)
+        pl-iso)
                 # Polish version
                 COUNTRY="pl"
                 LANG="pl_PL"
@@ -599,7 +679,7 @@ case "$LANGUAGE" in
                 CONSOLEFONT="Lat2-Terminus16"
                 CHARMAP="iso02"
                 ;;
-        pl-utf8)
+        pl|pl-utf8)
                 # Polish version (UTF8)
                 LANGUAGE="pl_PL:pl"
                 COUNTRY="pl"
@@ -613,7 +693,7 @@ case "$LANGUAGE" in
                 TZ="Europe/Warsaw"
                 CONSOLEFONT="iso02g"
                 ;;
-        pt)
+        pt-iso)
                 # Portuguese version
                 COUNTRY="pt"
                 LANG="pt_PT@euro"
@@ -624,9 +704,9 @@ case "$LANGUAGE" in
                 # Additional KDE Keyboards
                 KDEKEYBOARDS="de,us,fr"
                 TZ="Europe/Lisbon"
-                CONSOLEFONT="lat10-16"
+                CONSOLEFONT="Lat15-Terminus16"
                 ;;
-        pt-utf8)
+        pt|pt-utf8)
                 # Portuguese version (UTF8)
                 LANGUAGE="pt_PT:pt"
                 COUNTRY="pt"
@@ -638,9 +718,9 @@ case "$LANGUAGE" in
                 # Additional KDE Keyboards
                 KDEKEYBOARDS="de,us,fr"
                 TZ="Europe/Lisbon"
-                CONSOLEFONT="lat10-16"
+                CONSOLEFONT="Lat15-Terminus16"
                 ;;
-        ru)
+        ru-iso)
                 # Russian version
                 COUNTRY="ru"
                 LANG="ru_RU.KOI8-R"
@@ -652,7 +732,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="de,us,fr"
                 TZ="Europe/Moscow"
                 ;;
-        ru-utf8)
+        ru|ru-utf8)
                 # Russian version (UTF8)
                 LANGUAGE="ru_RU:ru"
                 COUNTRY="ru"
@@ -666,7 +746,33 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="de,us,fr"
                 TZ="Europe/Moscow"
                 ;;
-        sk)
+        se-iso)
+                # Swedish version
+                LANGUAGE="sv_SE:sv"
+                COUNTRY="se"
+                LANG="sv_SE.iso885915"
+                KEYTABLE="se-latin1"
+                XKEYBOARD="se"
+                KDEKEYBOARD="se"
+                CHARSET="sv_SE.iso885915"
+                # Additional KDE Keyboards
+                KDEKEYBOARDS="us,fi"
+                TZ="Europe/Stockholm"
+                ;;
+        se|se-utf8)
+                # Swedish version (UTF8)
+                LANGUAGE="sv_SE:sv"
+                COUNTRY="se"
+                LANG="sv_SE.utf8"
+                KEYTABLE="se-latin1"
+                XKEYBOARD="se"
+                KDEKEYBOARD="se"
+                CHARSET="utf8"
+                # Additional KDE Keyboards
+                KDEKEYBOARDS="us,fi"
+                TZ="Europe/Stockholm"
+                ;;
+        sk-iso)
                 # Slovak version (guessed)
                 COUNTRY="sk"
                 LANG="sk"
@@ -679,7 +785,7 @@ case "$LANGUAGE" in
                 CONSOLEFONT="Lat2-Terminus16"
                 CHARMAP="iso02"
                 ;;
-        sk-utf8)
+        sk|sk-utf8)
                 # Slovak version (guessed) (UTF8)
                 LANGUAGE="sk_SK:sk"
                 COUNTRY="sk"
@@ -693,7 +799,7 @@ case "$LANGUAGE" in
                 TZ="Europe/Bratislava"
                 CONSOLEFONT="iso02g"
                 ;;
-        sl)
+        sl-iso)
                 # Slovenian keyboard
                 LANGUAGE="sl"
                 COUNTRY="si"
@@ -707,7 +813,7 @@ case "$LANGUAGE" in
                 CONSOLEFONT="Lat2-Terminus16"
                 CHARMAP="iso02"
                 ;;
-        sl-utf8)
+        sl|sl-utf8)
                 # Slovenian keyboard (UTF8)
                 LANGUAGE="sl_SI:sl"
                 COUNTRY="si"
@@ -721,7 +827,7 @@ case "$LANGUAGE" in
                 TZ="Europe/Ljubljana"
                 CONSOLEFONT="iso02g"
                 ;;
-        tr)
+        tr-iso)
                 # Turkish version (guessed)
                 COUNTRY="tr"
                 LANG="tr_TR"
@@ -732,7 +838,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,de,fr"
                 TZ="Europe/Istanbul"
                 ;;
-        tr-utf8)
+        tr|tr-utf8)
                 # Turkish version (guessed) (UTF8)
                 LANGUAGE="tr_TR"
                 COUNTRY="tr"
@@ -745,7 +851,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us,de,fr"
                 TZ="Europe/Istanbul"
                 ;;
-        tw)
+        tw-iso)
                 # Traditional Chinese version
                 COUNTRY="tw"
                 LANG="zh_TW.Big5"
@@ -759,7 +865,7 @@ case "$LANGUAGE" in
                 XMODIFIERS="@im=xcin"
                 TZ="Asia/Taipei"
                 ;;
-        tw-utf8)
+        tw|tw-utf8)
                 # Traditional Chinese version (UTF8)
                 LANGUAGE="zh_TW:zh"
                 COUNTRY="tw"
@@ -774,7 +880,7 @@ case "$LANGUAGE" in
                 XMODIFIERS="@im=xcin"
                 TZ="Asia/Taipei"
                 ;;
-        uk)
+        uk-iso)
                 # British version
                 COUNTRY="uk"
                 LANG="en_GB"
@@ -786,7 +892,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us"
                 TZ="Europe/London"
                 ;;
-        uk-utf8)
+        uk|uk-utf8)
                 # British version (UTF8)
                 LANGUAGE="en_GB:en"
                 COUNTRY="uk"
@@ -799,7 +905,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="us"
                 TZ="Europe/London"
                 ;;
-        us)
+        us-iso)
                 # American version
                 LANGUAGE="en_US:en"
                 COUNTRY="us"
@@ -812,7 +918,7 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="de,fr"
                 TZ="America/New_York"
                 ;;
-        us-utf8)
+        us|us-utf8)
                 # American version (UTF8)
                 LANGUAGE="en_US:en"
                 COUNTRY="us"
@@ -829,13 +935,13 @@ case "$LANGUAGE" in
                 # Default
                 LANGUAGE="us"
                 COUNTRY="at"
-                LANG="en_US.iso885915"
+                LANG="en_US.UTF-8"
                 KEYTABLE="us"
                 XKEYBOARD="us"
                 KDEKEYBOARD="us"
-                CHARSET="iso8859-15"
+                CHARSET="utf8"
                 KDEKEYBOARDS="de,fr"
-                TZ="Europe/Vienna"
+                TZ="UTC"
                 ;;
 esac