[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Language and locale setting in /root/dbootstrap_setting (patch)



On Tue, 2002-02-12 at 10:52, Petter Reinholdtsen wrote:
> I combined and corrected your patch.  Here is a better suggestion.
> I'm not sure if the question should be presented at all.  If it is
> needed to get the translations working, it should be installed.

Agreed.  We should try to avoid asking extra questions unless it's
absolutely unavoidable.  Installing locales doesn't do any harm even if
it turns out not to be needed.

> I'm missing the generation step.  I'm not sure where to add it.  After
> debootstrap is finished, /etc/locale.gen must be checked/edited, and
> /usr/sbin/locale-gen must be executed.  A problem here is the fact
> that locale.gen want 'en_US ISO-8859-1', not 'en_US.ISO-8859-1'.
> Hopefully it is enough to replace '.' with ' ', but I'm not that
> familiar with the special cases of locale-gen. :-/

If you are putting "en_US.ISO-8859-1" in $LANG, you need to put
"en_US.ISO-8859-1 ISO-8859-1" in /etc/locale.gen.  But yes, "." is
always the separator for the character set part.

p.



Reply to: