[Solved] Can't find what messes up my locales

Hi,
First of all, I'd like to say that I did follow the beginner's guide and the locale wiki entry before posting here. I spents many hours trying to correct the issue myself but I can't think of anything but ugly fixes now...
Please note that I've done a few adjustments after the initial installation to try and fix my locale. For example, my /etc/locale.conf initially didn't include anything else than LANG and LC_COLLATE, but I've added other options to try and fix them (no success).
The global locale that I want to use is en_CA.UTF-8. I've enabled it in /etc/locale.gen and generated it with locale-gen, and here's the output of:
$ locale -a
C
POSIX
en_CA.utf8
Here's my locale.conf:
$ cat locale.conf
LANG="en_CA.UTF-8"
LC_COLLATE="C"
# Added afterwards
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
I've also copied this /etc/locale.conf to ~/.config/locale.conf, but nothing changed. I looked at /etc/profile.d/locale.sh to see what other script might change my locales after startup but I couldn't find anything else. Here's what I get when I run "locale" in bash:
$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_CA.UTF-8
LC_CTYPE=en_CA.UTF-8
LC_NUMERIC=fr_CA.utf8
LC_TIME=fr_CA.utf8
LC_COLLATE=C
LC_MONETARY=fr_CA.utf8
LC_MESSAGES=en_CA.UTF-8
LC_PAPER=en_CA.UTF-8
LC_NAME=en_CA.UTF-8
LC_ADDRESS=en_CA.UTF-8
LC_TELEPHONE=en_CA.UTF-8
LC_MEASUREMENT=fr_CA.utf8
LC_IDENTIFICATION=en_CA.UTF-8
LC_ALL=
So the problem is that a few locales are set to fr_CA.ut8, which isn't enabled and doesn't even correspond to the locale.gen entry (it would've to be fr_CA.UTF-8). Several applications report that they cannot find the locale so I'd really like to correct that. Also several characters fail to show up correctly in bash (man pages, htop, bash itself, etc.). For example:
$ man locale
man: can't set the locale; make sure $LC_* and $LANG are correct
I have no rc.conf or rc.local in /etc. There also isn't anything in /etc/bash.bashrc or ~/.bashrc regarding locales, and I don't see what else could affect it. /etc/profile doesn't, I don't have any ~/.profile... I'm quite lost.
I've also tried going back to the base configuration shown in the beginner's guide, so no ~/.config/locale.conf and only LANG and LC_COLLATE in /etc/locale.conf, but I get the same results.
I know I could export these values in other startup scripts but it seems like an ugly fix to me and I'd like to correct the problem at its root. I don't believe there's any relevant log file. Could you please help me fix this?
Thank you,
Last edited by miek (2013-01-01 01:02:29)

OK... out of ideas
My setup has always included that file followed by `locale-gen` as well as setting up /etc/locale.conf as you have.
% cat /etc/locale.conf
LANG=en_US.utf8
LC_COLLATE=C
% sed '/#/d' /etc/locale.gen
en_US.UTF-8 UTF-8
Last edited by graysky (2012-12-31 18:20:29)

Similar Messages

  • How can I find what apple ID I used to register my iMac when I first booted up? I am being told that by using this ID I will be able to go on to the App store and down load iPhoto at no cost. Is this true? My iMac does not have iPhoto resident on it now

    How can I find what apple ID I used to register my iMac when I first booted up? I am being told that by using this ID I will be able to go on to the App store and down load iPhoto at no cost. Is this true? My iMac does not have iPhoto resident on it now and I only purchased my new iMac in December 2012
    Thanks....

    Launch Keychain Access and click on Login in the left hand pane and then on Passwords.  Next do search for Apple in the search field at the top and click on Apple ID Authenicication in the list that comes up.  That will give you the ID no. and password.
    OT

  • HT5622 how can I find what the charges aree to my credit card from the apple store? I get multiple charges every month and don't know what they are for...I want to cancel whatever is being charged to me...how do I do it?

    how can I find what the charges aree to my credit card from the apple store? I get multiple charges every month and don't know what they are for...I want to cancel whatever is being charged to me...how do I do it?

    Have a look at this link
    http://support.apple.com/kb/ht2727

  • HT4910 how can i find what devices are sync to my laptop as mine is saying 5 i dont no why

    how can i find what devies are synced with my computer as in itunes says 5 i dont have 5

    That information is not available.
    De-authorizing Computers (contributed by user John Galt)
    You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
      1. Open iTunes on a computer
      2. From the Store menu, select "View my Account..."
      3. Sign in with your Apple ID and password.
      4. Under "Computer Authorizations" select "De-authorize All".
      5. Authorize each computer you still have, as you may require.
    You may only do this once per year.
    After you "de-authorize all" your authorized computers, re-authorize each one as required.
    If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us.
    For more information on authorization and de-authorization: iTunes Store- Authorize or deauthorize your Mac or PC.

  • Box and arrow bottom right corner, and the j, I can't find what they mean

    I'm new with Aperture and finally sorting my photos. I had a lot of duplicates for some reason. Image 100 and a 100-1 and sometimes a 100-2. I deleted the -1 and -2 copies. Some photos are displayed with a small box and arrow and some also with a J in the bottom right corner. I can't find what that means.

    Aperture uses Badges to indicate various things.  They are part of the Metadata Overlays.
    A good read of the first eight chapters of the User Manual will familiarize you with the program and the elements of the UI.  It is a well-done manual.  Have a look, and feel free to ask more questions.  I'm providing links here because the questions are better answered there than here.
    —Kirby.

  • After loading Acrobat XI, Facebook pages have errors.  Can't find what changed in IE8.  XP OS.

    After loading Acrobat XI, Facebook pages are blank with errors.  Can't find what happened to IE8.  XP OS.  Any suggestions?

    I agree. The Facebook failure must have been coincidental in that machine.  I have a notebook that I loaded the same Acrobat into and it's Facebook is OK - It's on Win 7 OS.  This laptop's (XP)  Facebook works, but it doesn't have the Acrobat loaded into it.  Also have a networked desktop for business on Win 2000 and it's Facebook works too.  Haven't tried another browser in the suspect machine yet.  There's definitely something wrong with it's IE8.  What it boils down to in it, is that it won't logout of Facebook properly. I have to logout on some other machine.  Then when I login on the bad one, Facebook only partially loads it's pages and I can't logout from it.

  • Can't find what's app in the app store

    Can't find what's app

    If you're looking for it for your iPad, you won't find it. The developers have not made it available for iPad.

  • Help Me , can't find what is wrong :S Simple code

    Hello everyone, im'm back =P ...well the problem is : I can't find what's wrong with this code above. The output shoul be "-1" but it prints -4 , it should print the min. value of an array. An absolute value to do that , its simple just do: e.g ( if ( n < 0 ) n = n * -1 ; and then check what is the min. value of the array. I just copied the content of the first array to the second .
    damn...what is wrong? :S
    public static void main (String[] xxx) {
         int [] array = {7,-4,-1,2}
        System.out.print( "The shortest number is: "+ minValue(array));
          static int minValue(int [] x ) {
        int []  newarray = new int [x.length];
        int min = mat[0];
        for( int i = 0; i !=x.length; ++i) {
       if ( i < o)  i = i * -1;
       else i = i * 1;
        newarray[i] = x[i] ;    
            for (int i = 0; i != mat.length; ++i) {
          if ( min > mat[i] )  min = mat;
    }return min;
    Thanks!!! I realy need your help plz!

    Almost!!!!! :D
    it returns 1 , should return -1 LOLO this is an exercise for practice, because i've the final test tomorrow .
    Is the last one , and i'm getting annoying of it :P.
    That's why i copied the 1st to the 2� array (but without the signal).
    U must ignore the signal when it checks, but it must print the number even if it has the signal . E.g -1 , u check ignoring the signal and the ouput must be: -1
    :S

  • Won't let me download Adobe Photoshop Trial version. It said "there is no application to set to open the url...." Can't find what app to use?

    Won't let me download Adobe Photoshop Trial version. It said "there is no application to set to open the url...." Can't find what app to use?

    use a different browser to download.

  • HT5625 IPHONE 5 not stolen number 01********0 bought phone but I don't know ID and the password of the former owner I can't find what to do

    IPHONE 5 not stolen number 01**************0 bought phone but I don't know ID and the password of the former owner I can't find what to do
    <Personal Information Edited by Host>

    Use it as a paperweight, as there is no way around Activation Lock, & Apple will not help you.

  • Can't find whats app in blackberry world

    Hello,
    I just updated my phone to blackberry 10 and can't find what's app. I had it in my previous blackberry torch. A lot of my contacts are using what's app. Please advise on getting it.
    Thanks

    Open the following link into your phone.. http://appworld.blackberry.com/webstore/content/2360/
    If i've helped you use the like button (KUDOS)!
    Follow me at twitter: @hektorc
    Read my blog: http://hektor.in
    Check my GitHub: github.com/hektorcyc

  • I refund a New iPad which was purchased by cash 15 days ago, but I did not receive my refund check. and my receipt can not find, what should I do?

    I refund a New iPad which was purchased by cash 15 days ago, but I did not receive my refund check. and my receipt can not find, what should I do?
    I still have the confirm receipt for purchasing the ipad, but my refund receipt can not find.

    Seventy one is correct, you need to take this up with the manager of the store.
    Ultimately, if the guy who handled the return at the store didn't enter it into the system correctly, or if the paperwork was somehow lost, or anything else along those lines, your refund receipt is the only thing you have proving that they owe you money. If you have lost that receipt, it's quite possible that you will have lost the money that it represents.
    Go to the store. Talk to the manager. Try to recall which person at the store handled the return, and see if they remember you. Be polite but insistent, and remember that without the receipt, you are depending on those people to help you out.

  • I used the migration assistant....PC to MAC and I can't find what I transferred on the MAC

    Hello,
    I'm new to the MAC.  I used the migration assistant....PC to MAC and I can't find what I transferred on the MAC

    Open the Users folder on the internal drive, locate the migrated folder, drag it to the desktop, and provide your administrator password.
    (79324)

  • Where on the LWS can i find what our enterprise has downloaded?

    Where on the LWS can i find what our enterprise has downloaded?

    Hi Karlehem,
    If you are added as a Contact on LWS website then please login to LWS and click on Downloads. From the Download screen please select your Deploy to ID and then select Creative Cloud Pkgr from the Product name to download and create Adobe applications package.
    You can also refer to this link to use Creative Cloud Packager
    http://helpx.adobe.com/creative-cloud/packager.html
    Please let us know if it helps.
    Regards,
    Abhijit

  • I forgot my Security Question and Security Info email. How can I reset my Secret Question or how can I find what was my Security Info email is?

    I forgot my Security Question and Security Info email. How can I reset my Secret Question or how can I find what was my Security Info email is?

    You won't be able to view and/or change your rescue email address until you can answer your security question(s). If you only have one security question then you should be able to reset it according to http://support.apple.com/kb/HT6170 :
    Reset your security questions
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Select “Password and Security” on the left side of the page.
    If you have only one security question, you can change the question and answer now.
    If you have more than one security question:
    Select “Send reset security info email to [your rescue email address].” If you don't see this link or don't have access to your rescue address, contact Apple Support as described in the next section.
    Your rescue address will receive a reset email from Apple. Follow its instructions to reset your security questions and set up new questions and answers. Didn't receive the email ?
    After resetting your security questions, consider turning on two-step verification. With two-step verification, you don't need security questions to secure your account or verify your identity.
    If you have more than one question then as you can't remember your rescue email address then you will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps on this page to view and/or change your rescue email address for potential future use : http://support.apple.com/kb/HT5620
    Or if it's available in your country you could change to 2-step verification : http://support.apple.com/kb/HT5570

Maybe you are looking for

  • Bapi for creating purchase order

    hi, iam using BAPI_PO_CREATE1 to create PO's for service. after creating opne PO if i go and create another po within a short span of a minute or so then it does not create the second PO. it gives message that doc does not contain any items. TABLES:

  • Will FireFighter send a report to the Controller if no activity was done?

    We have our FF system set up to send out a log report each night to the Controllers.  If someone logs into their FFID and then immediately exits back out without doing anything, will the nightly email job (pgm /virsa/zvfat_log_report) report this FF

  • Error while deploying Entity Beans on OC4J 10.1.3

    Hi, We have 350 entity beans in our system. Recently a new table is created as per following script. CREATE TABLE TBLSMDTATTRIBUTECATREL MDTCATEGORYID CHAR(7), ATTRIBUTECATEGORYID CHAR(10), CONSTRAINT PK_MDTATTRIBUTECATREL PRIMARY KEY (MDTCATEGORYID,

  • Parameter Passing between pages- process not picking up on changes

    Hello, new user, this is a different question than before. I have a drop-down list box on Page 1, upon which the user can choose a study number. The List Box is named "P1_STUDY_NBR". Then I have a list, one entry of which goes to my master-detail for

  • Muvo slim battery charg

    Ok, this might be a dumb question but i'm very green in the area of mp3 players. I recevied a Muvo Slim for christmas. After some reformatting problems, it now works great. (Thanks to this message board) Anywho, I was wondering how to know if your ba