locale-gen does not take a list of locales to generate. It generates the locales that have been left uncommented in the file /etc/locale.gen. So you need to edit that file, and then run locale-gen without arguments. Alternatively, install the package locales-all, which provides all locales pre-generated, at the cost of some disk space.sudo locale-gen de_DE.UTF-8 en_US.UTF-8
Do not set LC_ALL. Normally you should set only LANG. Then if you want to, you can override specific categories like LC_TIME. LC_ALL overrides all categories, so it is equivalent to just setting LANG, except that you cannot override it later. The main purpose of LC_ALL is for scripts that need to temporarily ignore the user's locale like LC_ALL=C sort …LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
The purpose of LANGUAGE is to specify an ordered list, in case some programs are not translated into your preferred language. There is no need to attempt that if your preferred language is English, nor if your fallback language is English. English is almost guaranteed to be supported, and to be the fallback language. Also, I think the colon-separated elements of LANGUAGE should all be fully qualified, including the country code and character encoding.
Statistics: Posted by jojopi — Sat Nov 09, 2024 8:43 pm