]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/tools/locale/README
Standardize on SRCTOP instead of .CURDIR-relative paths
[FreeBSD/FreeBSD.git] / tools / tools / locale / README
1 # $FreeBSD$
2
3 To generate the locales:
4
5 Tools needed: java, perl, devel/p5-Tie-IxHash, converters/p5-Text-Iconv and
6 textproc/p5-XML-Parser
7
8 fetch cldr data from: http://cldr.unicode.org
9 extract in a directory ~/unicode/cldr/v30.0.3 for example
10 fetch unidata from http://www.unicode.org/Public/zipped/ (latest version)
11 extract in a directory ~/unicode/UNIDATA/9.0.0 for example
12
13 Note that the prebuilt cldr tools are not working on freebsd, it needs to
14 be rebuilt:
15 cd $CLDRDIR/tools/java
16 ant build
17
18 either modify tools/tools/locales/etc/unicode.conf or export variables:
19 CLDRDIR="~/unicode/cldr/v30.0.3"
20 UNIDATADIR="~/unicode/UNIDATA/9.0.0"
21
22 run:
23 make POSIX
24 make install