Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-23-2010, 04:35 AM   #1
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 34
problem with setting locale

I want to change my LANG variable to be able to read specific program. First I check availabe encodings with locale -a.
There are:

I try to set every possible of them, but when type locale charmap I get the following error:

locale charmap
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
I try also to change LC_MESSAGES and LC_ALL manual with export, but error is the same. Any help?

Edit: I don't have ".profile" file in my home dir. Can be that the problem?

Last edited by konzo; 01-23-2010 at 04:52 AM.
Old 01-23-2010, 05:55 AM   #2
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 34
I add in command line:
LC_ALL=bg_BG.UTF-8 wine Diction.exe

and set work path ~/.wine/drive_c/Program\ Files/SA\ Dictionary/

and it works. No need to change locale anymore.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the locale by setting the system default locale letdoit Slackware 6 08-18-2011 03:34 AM
locale setting, problem with en_US.UTF-8 pru Linux - Software 4 04-18-2008 04:07 AM
Strange locale setting problem _Lukes Linux - Newbie 2 12-05-2006 06:14 AM
"perl: warning: Setting locale failed." System wide problem Darek84CJ Debian 3 01-25-2006 05:22 PM
locale setting ’ mnaumanca Linux - Software 0 02-18-2005 03:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration