devDucks / astroarch

ArchLinux for astrophotography - made for raspberrypis, can run also on x64 machines
MIT License
61 stars 7 forks source link

Local language setting #120

Open Olli781 opened 4 weeks ago

Olli781 commented 4 weeks ago

Hello, when I change the language I get the following message in the terminal:

_perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "de", LC_ALL = (unset), LC_CTYPE = "en_US.UTF-8", LC_NUMERIC = "de_DE.UTF-8", LC_COLLATE = (unset), LC_TIME = "de_DE.UTF-8", LC_MESSAGES = (unset), LC_MONETARY = "de_DE.UTF-8", LC_ADDRESS = "de_DE.UTF-8", LC_IDENTIFICATION = (unset), LC_MEASUREMENT = "de_DE.UTF-8", LC_PAPER = "de_DE.UTF-8", LC_TELEPHONE = "de_DE.UTF-8", LC_NAME = "de_DE.UTF-8", LANG = "deDE.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").

When starting PHD Guiding the following message appears:

Cannot set locale to language "German (Germany)"

The troubleshooting is probably easy. But I can't figure it out right now. Can someone help me? Thank you, Oliver

MattBlack85 commented 4 weeks ago

hi @Olli781 , have you already uncommented de_DE local in /etc/locale.gen and run the command locale-gen?

Olli781 commented 4 weeks ago

Hi MattBlack85, I ran the command sudo locale-gen and uncommented de_DE beforehand: _Generating locales... de_DE.UTF-8... done de_DE.ISO-8859-1... done deDE.ISO-8859-15@euro... done Generation complete.

The error with PHD has disappeared. Unfortunately, the error still appears in the terminal:

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "de", LC_ALL = (unset), LC_CTYPE = "en_US.UTF-8", LC_NUMERIC = "de_DE.UTF-8", LC_COLLATE = (unset), LC_TIME = "de_DE.UTF-8", LC_MESSAGES = (unset), LC_MONETARY = "de_DE.UTF-8", LC_ADDRESS = "de_DE.UTF-8", LC_IDENTIFICATION = (unset), LC_MEASUREMENT = "de_DE.UTF-8", LC_PAPER = "de_DE.UTF-8", LC_TELEPHONE = "de_DE.UTF-8", LC_NAME = "de_DE.UTF-8", LANG = "de_DE.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("de_DE.UTF-8").

Olli781 commented 4 weeks ago

I solved the problem: en_US.UTF-8 UTF-8 must also remain uncommented.