Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local language setting #120

Open
Olli781 opened this issue Oct 28, 2024 · 3 comments
Open

Local language setting #120

Olli781 opened this issue Oct 28, 2024 · 3 comments

Comments

@Olli781
Copy link

Olli781 commented Oct 28, 2024

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 = "de_DE.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
Copy link
Collaborator

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

@Olli781
Copy link
Author

Olli781 commented Oct 29, 2024

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
de_DE.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
Copy link
Author

Olli781 commented Oct 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants