locales: Import unused FreeBSD tool to generate locales
authorJohn Marino <draco@marino.st>
Thu, 23 Jul 2015 20:31:13 +0000 (22:31 +0200)
committerJohn Marino <draco@marino.st>
Thu, 23 Jul 2015 20:42:19 +0000 (22:42 +0200)
locales: Import unused FreeBSD tool to generate locales

Five years ago, Edwin Groothuis put in a *LOT* of work to create a perl-
based tool that would use the latest Unicode release from The Unicode
Consortium <http://unicode.org> and the latest Unicode CLDR release from
the same organization, and generate all the locale defintions for numeric,
monetary, time, and messages, including generating a readable Makefile.

The tool has the ability to define the conversions from Unicode to lower
resolution formats.  While there were some minor bugs in it, the tool now
works, but for reasons unknown to me right now, it was never imported into
FreeBSD, nor used to improve their localization 5 years ago.

I've generated the new locale definitions which will go in soon.  Note
that the Unicode Consortium no longer provides the "posix" definitions
the tool reads, so these definitions are 3 years old.  Supposedly they
provide tools to generate the POSIX definitions, but I haven't found them
yet.  Once I do, I'll regenerate the locales with the latest CLDR.

Refer: https://wiki.freebsd.org/LocaleNewApproach
38 files changed:
tools/tools/locale/Makefile [new file with mode: 0644]
tools/tools/locale/etc/charmaps.xml [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ARMSCII-8.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/Big5.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/Big5HKSCS.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/CP1131.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/CP1251.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/CP866.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/GB18030.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/GB2312.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/GBK.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISCII-DEV.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-1.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-13.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-15.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-2.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-4.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-5.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-7.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/ISO8859-9.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/KOI8-R.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/KOI8-U.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/PT154.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/SJIS.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/US-ASCII.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/charmaps.txt [new file with mode: 0644]
tools/tools/locale/etc/charmaps/eucCN.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/eucJP.TXT [new file with mode: 0644]
tools/tools/locale/etc/charmaps/eucKR.TXT [new file with mode: 0644]
tools/tools/locale/etc/la_LN.UTF-8.src [new file with mode: 0644]
tools/tools/locale/etc/unicode.conf [new file with mode: 0644]
tools/tools/locale/tools/UTF82encoding.pl [new file with mode: 0755]
tools/tools/locale/tools/changeoffset.pl [new file with mode: 0755]
tools/tools/locale/tools/charmaps.pm [new file with mode: 0644]
tools/tools/locale/tools/cldr2def.pl [new file with mode: 0755]
tools/tools/locale/tools/finalize [new file with mode: 0755]
tools/tools/locale/tools/unicode2src.pl [new file with mode: 0755]
tools/tools/locale/tools/whatis.pl [new file with mode: 0755]