xref: /freebsd/tools/tools/locale/README (revision 273c26a3c3bea87a241d6879abd4f991db180bf0)
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