Add a README to explain how to generate the locales from CLDR data

This commit is contained in:
Baptiste Daroussin 2015-11-09 23:23:29 +00:00
parent 52bfb86a1e
commit 32810cf3c6

18
tools/tools/locale/README Normal file
View File

@ -0,0 +1,18 @@
# $FreeBSD$
To generate the locales:
Tools needed: java, perl and devel/p5-Tie-IxHash
fetch cldr data from: http://cldr.unicode.org
extract in a directory ~/unicode/cldr/v27.0.1 for example
fetch unidata from http://www.unicode.org/Public/zipped/ (latest version)
extract in a directory ~/unicode/UNIDATA/8.0.0 for example
either modify tools/tools/locales/etc/unicode.conf or export variables:
CLDRDIR="~/unicode/cldr/v27.0.1"
UNIDATADIR="~/unicode/UNIDATA/8.0.0"
run:
make POSIX
make install