diff --git a/archfi b/archfi index 84177c3..1de9d8f 100644 --- a/archfi +++ b/archfi @@ -90,11 +90,13 @@ chooselanguage(){ if [ "$sel" = "English" ]; then loadstrings else - case $sel in - "Russian") eval $(setfont cyr-sun16);; - esac eval $(curl -L $baseurl/lng/$sel | sed '/^#/ d') fi + eval $(setfont $font) + font= + sed -i "/$locale.UTF-8/s/^#//g" /etc/locale.gen + locale-gen + export LANG=$locale fi } diff --git a/lng/French b/lng/French index 7c9c6f5..1cc000f 100644 --- a/lng/French +++ b/lng/French @@ -6,6 +6,10 @@ # notes : misc text... +locale=fr_FR.UTF-8 +#font= + + txtselectserver="Sélectionnez le serveur source :" txtmainmenu="Menu Principal" diff --git a/lng/German b/lng/German index bbdd2c8..9cc5c14 100644 --- a/lng/German +++ b/lng/German @@ -6,6 +6,10 @@ # notes : Version 0.1 +locale=de_DE.UTF-8 +#font= + + txtselectserver="Wählen Sie einen Spiegelserver:" txtmainmenu="Hauptmenü" diff --git a/lng/Hungarian b/lng/Hungarian index 3f3e2cc..b626f85 100644 --- a/lng/Hungarian +++ b/lng/Hungarian @@ -6,6 +6,10 @@ # notes : Fejlesztés alatt! +locale=hu_HU.UTF-8 +#font= + + txtselectserver="Forrás szerver kiválasztása :" txtmainmenu="Főmenü" diff --git a/lng/Russian b/lng/Russian index 1048e9b..52b827e 100644 --- a/lng/Russian +++ b/lng/Russian @@ -6,6 +6,10 @@ # notes : v.1.1 +locale=ru_RU.UTF-8 +font=cyr-sun16 + + txtselectserver="Выберите сервер исходников :" txtmainmenu="Главное меню"