xref: /freebsd/tools/tools/locale/README (revision 5dae51da3da0cc94d17bd67b308fad304ebec7e0)
1# $FreeBSD$
2
3To generate the locales:
4
5Tools needed: java, perl, devel/p5-Tie-IxHash, converters/p5-Text-Iconv and
6textproc/p5-XML-Parser
7
8fetch cldr data from: http://cldr.unicode.org
9extract in a directory ~/unicode/cldr/v27.0.1 for example
10fetch unidata from http://www.unicode.org/Public/zipped/ (latest version)
11extract in a directory ~/unicode/UNIDATA/8.0.0 for example
12
13either modify tools/tools/locales/etc/unicode.conf or export variables:
14CLDRDIR="~/unicode/cldr/v27.0.1"
15UNIDATADIR="~/unicode/UNIDATA/8.0.0"
16
17run:
18make POSIX
19make install
20