Skip to main content
Topic: Install instructions on wiki unclear about locales (Read 715 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Install instructions on wiki unclear about locales

Greetings!

When I was following the installation instructions, when I got to the locale section, it's unclear what to put into /etc/locale.conf, although it mentions what to put into user's .profile and such.  To me, this was the only really unclear part of the instructions, and it caused Pidgin spellchecking to not work properly until I found an answer elsewhere.

Can this section be expanded to show an example for /etc/locale.conf?  I could edit that wiki entry, but would it be okay to do so (after getting a wiki account) or does someone else have to do it?

Thank you!  :D

Re: Install instructions on wiki unclear about locales

Reply #1
is the:
Code: [Select]
export LANG="en_US.UTF-8"     <-- localize in your languages
export LC_COLLATE="C"
not an example?

Also when it says "(which is sourced by /etc/profile)" doesn't it imply that it should be in the form of a shell command?

Re: Install instructions on wiki unclear about locales

Reply #2
Hi,

The help that I found elsewhere does not use export in the contents of /etc/locale.conf, so that's where the discrepancy is.  Is it okay to use export there as well?  Sorry, usually this is all set up for me using the installer on other distros so I don't deal with locale stuff very often.

Thanks!  :)

Re: Install instructions on wiki unclear about locales

Reply #3
You won't need to use export since /etc/profile.d/locale.sh will do it for you anyway:
Code: [Select]
+ . /etc/profile.d/locale.sh
+ [ -z en_US.UTF-8 ]
+ LANG=en_US.UTF-8
+ export LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION

Re: Install instructions on wiki unclear about locales

Reply #4
You won't need to use export since /etc/profile.d/locale.sh will do it for you anyway:

Thanks.  Maybe this could be clarified on that wiki article then.  That was the only spot that was unclear to me -- everything else was okay to understand.

Thanks!  :)

 

Re: Install instructions on wiki unclear about locales

Reply #5
You won't need to use export since /etc/profile.d/locale.sh will do it for you anyway:
Code: [Select]
+ . /etc/profile.d/locale.sh
+ [ -z en_US.UTF-8 ]
+ LANG=en_US.UTF-8
+ export LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
1. Do you assume the user start the machine with  a Live-Desktop and can access the internet?
2. Is possible to install the OS over a Live-Desktop but using the "CLI"?
3. Is not missing in your file/text [export LC_COLLATE="C"] like shown in the wiki?
4. When the changes are done ==> source /etc/profile.d/locale.sh?

In one point is the TS right: in the wiki is missing something and in this thread too.

Consider please that not all users come from Arch or Gentoo and can understand what you (and the wiki too) mean in each line or every-time.