Hi Please accept the following patch that fixes converting short locales into long locales (at least in my use case "sq" -> "sq_AL.UTF-8"). Support for other special cases might be added in the future.
Ronny -- Ronny Standtke Fachhochschule Nordwestschweiz Dozent MedienpƤdagogik / ICT PƤdagogische Hochschule Telefon: +41 32 627 92 47 Obere Sternengasse 7 Mobil : +41 79 786 81 82 4502 Solothurn
diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales index 022a605..36f88a2 100755 --- a/scripts/live-bottom/14locales +++ b/scripts/live-bottom/14locales @@ -74,8 +74,17 @@ then really_export KBD fi - uploc=$(echo "${locale}" | tr '[a-z]' '[A-Z]') - locale="${locale}_${uploc}.UTF-8" + # map short locale to long version + case "${locale}" in + sq) + locale="sq_AL.UTF-8" + ;; + *) + # this is simple and stupid but does not always work (see above) + uploc=$(echo "${locale}" | tr '[a-z]' '[A-Z]') + locale="${locale}_${uploc}.UTF-8" + ;; + esac fi LANG=