Locale-aware

Gerard Beekmans gerard at linuxfromscratch.org
Sat Aug 26 11:44:40 PDT 2000



> > I was told make localdate/install-locales was needed...
> 
> Yes, it is, but it is executed by default in the glibc installation. See that
> /usr/share/locale dir? It is created by the "make localdate/install-locales"
> command.
> The README file in the localedata dir tells us that it's an add-on package that
> is enabled by using the --enable-add-ons switch.
> 
> > when would that localedef command need to be executed? What package
> > provides it?
> 
> Just after the glibc installation. glibc is the package that provides it. If I
> want to define my french canadian locale, I'd type "localedef -i fr_CA -f
> ISO-8859-1 fr_CA". For a US english definition, I'd use "localedef -i en_US -f
> ISO-8859-1 en_US".
> In the book itself, I'd provide this command (for the majority of readers are
> from the US), while explaining that it must be customized for different
> locales.

Ok, will update the book. Can't promise for 2.4 though

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-





More information about the lfs-dev mailing list