Add a README to explain how to generate the locales from CLDR data
This commit is contained in:
parent
52bfb86a1e
commit
32810cf3c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290625
18
tools/tools/locale/README
Normal file
18
tools/tools/locale/README
Normal 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
|
Loading…
Reference in New Issue
Block a user