How to correct locale settings?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

How to correct locale settings?

Post by rsal »

I am getting this locale warning from perl:

Code: Select all

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_COLLATE = "C",
	LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Following commands did not help:

Code: Select all

export LANGUAGE="en_US"
export LC_ALL="en_US"
It only replaced (unset) with "en_US" in above error.

How can I correct this? Thanks.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: How to correct locale settings?

Post by gapan »

The question is: how did you manage to mess up with locales?

You can set the system locale, by running the "System Language" tool from the system menu. Once again, something you could easily have found yourself if you took the time to read the startup guide.

But if you are overriding that locale for your user from some random configuration file in your homedir that you created or edited, no-one can tell you how to fix this but yourself. You're not even providing any information about what your locale actually is right now.
Image
Image
Post Reply