diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2009-05-20 10:55:48 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2009-05-20 10:55:48 +0400 |
commit | 1c1d101fed359c757d2fb6f5cf3c51a203c0efc7 (patch) | |
tree | 66122aee15e5d8d0404b2348c21a92ddfa81c7e7 /tools | |
parent | 3dae6e8d14c797e05d8be90e3ca9f93951010c86 (diff) |
2009-05-20 Atsushi Enomoto <atsushi@ximian.com>
* README: added (I needed it!)
svn path=/trunk/mono/; revision=134436
Diffstat (limited to 'tools')
-rw-r--r-- | tools/locale-builder/ChangeLog | 4 | ||||
-rw-r--r-- | tools/locale-builder/README | 39 |
2 files changed, 43 insertions, 0 deletions
diff --git a/tools/locale-builder/ChangeLog b/tools/locale-builder/ChangeLog index bbd0c60d645..01c51f24ba6 100644 --- a/tools/locale-builder/ChangeLog +++ b/tools/locale-builder/ChangeLog @@ -1,3 +1,7 @@ +2009-05-20 Atsushi Enomoto <atsushi@ximian.com> + + * README: added (I needed it!) + 2009-03-05 Marek Habersack <mhabersack@novell.com> * locales/en_TT.xml: added here since openi18n.org times out and diff --git a/tools/locale-builder/README b/tools/locale-builder/README new file mode 100644 index 00000000000..7c5d00cb026 --- /dev/null +++ b/tools/locale-builder/README @@ -0,0 +1,39 @@ +* purpose + + This tool is to generate globalization information from Unicode CLDR, with some changes + to fill the gap between .NET(Windows)-ism and the global standard. + +* input resources + + There is only an external resource: unicode CLDR. I used version 1.7, the latest one as of + May, 2009: + http://unicode.org/Public/cldr/1.7.0/core.zip + + There is a couple of extra mono resources included in this directory: + - lcids.xml for LCIDs. + - textinfos.xml for TextInfo. + - supplementalData.xml and supp/*.xml for .NET(Windows)-ism fixup. + +* generated file + + culture-info-table.h contains the following sections: + + - datetime_format_entries + See DateTimeFormatEntry.AppendTableRow() in DateTimeFormatEntry.cs. + - number_format_entries + See NumberFormatEntry.AppendTableRow() in NumberFormatEntry.cs. + - culture_entries + See CultureInfoEntry.AppendTableRow() in CultureInfoEntry.cs. + - culture_name_entries + See Driver.Run() in Driver.cs. + - region_entries + See RegionInfoEntry.AppendTableRow() in RegionInfoEntry.cs. + - region_name_entries + See Driver.Run() in Driver.cs. + - locale_strings + See Driver.Run() in Driver.cs. + + In each entry, strings are extracted to locale_strings table, and in each structure they are + represented as an index to the string. + + |