]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/tools/locale/README
Merge OpenSSL 1.1.1e.
[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/apache-ant
10         devel/p5-Tie-IxHash
11         textproc/p5-XML-Parser
12
13 1. Fetch CLDR data from: http://unicode.org/Public/cldr/.  You need all of the
14 core.zip, keyboards.zip, and tools.zip.
15 2. Fetch unidata (UCD.zip) from http://www.unicode.org/Public/zipped/latest.
16 3. Extract:
17         mkdir -p ~/unicode
18         cd ~/unicode
19         unzip ~/core.zip
20         unzip ~/keyboards.zip
21         unzip ~/tools.zip
22         unzip ~/UCD.zip
23 4. Export variable:
24         UNIDIR=~/unicode; export UNIDIR
25 5. Build the CLDR tools:
26         cd $UNIDIR/tools/java
27         ant jar
28 6. Build POSIX data files from CLDR data:
29         make POSIX
30 7. Build and install new locale data:
31         make
32         make install