xref: /freebsd/tools/tools/locale/README (revision 32810cf3c6e40c217fbc3308eeb25aadff36f7ef)
1*32810cf3SBaptiste Daroussin# $FreeBSD$
2*32810cf3SBaptiste Daroussin
3*32810cf3SBaptiste DaroussinTo generate the locales:
4*32810cf3SBaptiste Daroussin
5*32810cf3SBaptiste DaroussinTools needed: java, perl and devel/p5-Tie-IxHash
6*32810cf3SBaptiste Daroussin
7*32810cf3SBaptiste Daroussinfetch cldr data from: http://cldr.unicode.org
8*32810cf3SBaptiste Daroussinextract in a directory ~/unicode/cldr/v27.0.1 for example
9*32810cf3SBaptiste Daroussinfetch unidata from http://www.unicode.org/Public/zipped/ (latest version)
10*32810cf3SBaptiste Daroussinextract in a directory ~/unicode/UNIDATA/8.0.0 for example
11*32810cf3SBaptiste Daroussin
12*32810cf3SBaptiste Daroussineither modify tools/tools/locales/etc/unicode.conf or export variables:
13*32810cf3SBaptiste DaroussinCLDRDIR="~/unicode/cldr/v27.0.1"
14*32810cf3SBaptiste DaroussinUNIDATADIR="~/unicode/UNIDATA/8.0.0"
15*32810cf3SBaptiste Daroussin
16*32810cf3SBaptiste Daroussinrun:
17*32810cf3SBaptiste Daroussinmake POSIX
18*32810cf3SBaptiste Daroussinmake install
19