svn commit: r290625 - head/tools/tools/locale

Baptiste Daroussin bapt at FreeBSD.org
Mon Nov 9 23:23:31 UTC 2015


Author: bapt
Date: Mon Nov  9 23:23:29 2015
New Revision: 290625
URL: https://svnweb.freebsd.org/changeset/base/290625

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

Added:
  head/tools/tools/locale/README   (contents, props changed)

Added: head/tools/tools/locale/README
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/tools/locale/README	Mon Nov  9 23:23:29 2015	(r290625)
@@ -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


More information about the svn-src-head mailing list