]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/tools/locale/README
Restore some of the ctype definitions reported in the PR from pre-CLDR
[FreeBSD/FreeBSD.git] / tools / tools / locale / README
1 # $FreeBSD$
2
3 To generate the locales:
4
5 Tools needed:
6         java (openjdk >= 8)
7         perl
8         converters/p5-Text-Iconv
9         devel/p5-Tie-IxHash
10         textproc/p5-XML-Parser
11
12 Fetch CLDR data from: http://unicode.org/Public/cldr/.  You need all of the
13 core.zip, keyboards.zip, and tools.zip.
14
15 Extract:
16         mkdir -p ~/unicode/cldr/v33.0
17         cd ~/unicode/cldr/v33.0
18         unzip ~/core.zip ~/keyboards.zip ~/tools.zip
19
20 Fetch unidata (UCD.zip) from http://www.unicode.org/Public/zipped/latest.
21
22 Extract:
23         mkdir -p ~/unicode/UNIDATA/11.0.0
24         cd ~/unicode/UNIDATA/11.0.0
25         unzip ~/UCD.zip
26
27 Either modify tools/tools/locales/etc/unicode.conf or export variables:
28         CLDRDIR=~/unicode/cldr/v33.0; export CLDRDIR
29         UNIDATADIR=~/unicode/UNIDATA/9.0.0; export UNIDATADIR
30
31 Build the CLDR tools:
32         cd $CLDRDIR/tools/java
33         ant jar
34
35 Run:
36         make POSIX
37         make
38         make install