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