Re: Cannot build custom locale with utf-8 charset

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



Whether the following information is complete or entirely correct or
contains redundancies I will leave for others to comment upon.  In the
end, to completely install a working UTF-8 locale from a customized
source file in /usr/share/i18n/locales on both CentOS-5 and CentOS-6 I
had to do this:

localedef --replace -c -f UTF-8 -i
/usr/share/i18n/locales/en_CA@yyyy-mmm-dd en_CA@yyyy-mmm-dd.utf8
localedef --no-archive -c -f UTF-8 -i
/usr/share/i18n/locales/en_CA@yyyy-mmm-dd en_CA@xxxxxxxxxxxxxxx-8
localedef --no-archive -c -f UTF-8 -i
/usr/share/i18n/locales/en_CA@yyyy-mmm-dd en_CA@yyyy-mmm-dd.UTF8
localedef --no-archive -c -f UTF-8 -i
/usr/share/i18n/locales/en_CA@yyyy-mmm-dd en_CA@xxxxxxxxxxxxxxx-8
localedef --no-archive -c -f UTF-8 -i
/usr/share/i18n/locales/en_CA@yyyy-mmm-dd en_CA@yyyy-mmm-dd

Evidently, the archived version is expected to have the extension
.utf8 but all the other aliased extensions are customarily expected as
well.  I was unable to find where on the system said locale aliases
are kept however.  The most likely candidate that I found was
/usr/share/X11/locale/locale.alias but I could find no entries therein
pertaining to my customized locales.

I would like to know the exact location where locale aliases are
stored on CentOS systems if someone in the know would share that
information.


-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux