xref: /freebsd/tools/tools/locale/README (revision ab00ac327a66a53edaac95b536b209db3ae2cd9f)
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/v30.0.3 for example
10fetch unidata from http://www.unicode.org/Public/zipped/ (latest version)
11extract in a directory ~/unicode/UNIDATA/9.0.0 for example
12
13Note that the prebuilt cldr tools are not working on freebsd, it needs to
14be rebuilt:
15cd $CLDRDIR/tools/java
16ant build
17
18either modify tools/tools/locales/etc/unicode.conf or export variables:
19CLDRDIR="~/unicode/cldr/v30.0.3"
20UNIDATADIR="~/unicode/UNIDATA/9.0.0"
21
22run:
23make POSIX
24make install
25