07-08-16 Filed in:
Tech LibraryThe changes since the last release are:
- Added a new utility
zbinfo
to query built-in data. This was released as an example previously (the dumplocale
example which has been dropped). - Added encoding support to convert
Wide_String
values to String
based on an encoding schema, e.g., UTF-8, ISO8859-2, CP932, SHIFT_JIS, etc. To fully use this functionality, narrow accessors should be used which, when printing, use Stream_IO
to avoid interaction between the Text_IO
and encoded values. The list of supported encodings is available via zbinfo --list-encodings
. - The default locale is now en_US.UTF-8 if no other locale can be determined from the environment.
- Updated the documentation (and website) to use the Sphinx documentation system.
- Updated and expanded the documentation. Additional documentation is, however, needed. Switch to
gnatdoc
from gnathtml
to generate the source code based documentation. - Restricted the usage of the
-gnatW8
compilation option to just the source files containing UTF-8 encoded strings: the message pool file generated by the zbmcompile
utility. - Added option to the
zbmcompile
utility to generate ASCII only source files (-A option). - Added option to the
zbmcompile
utility to define handling of non-Ada message keys when generating accessors (the -X option). - Updated the build to use
gprbuild
instead of gnatmake
. - Updated the build to use
-gnat2012
in all gpr files. - Switched from
AUnit
to Ahven
for unit testing. - Minor source code changes based on stricter checks with GNAT 2016.
http://zanyblue.sourceforge.netFrom Michael Rohan.
Read More…Tags: localization,l10n,Globalization,g11n
13-09-15 Filed in:
Tech LibraryThis is an Ada library currently targeting localization support for Ada (along the lines of Java properties) with supporting message formatting and built-in localization for about 20 locales.
The properties files are compiled into Ada sources built with your application and use to access application messages at run-time.
The run-time locale is used to select localized messages, if they are available.
http://zanyblue.sourceforge.net
Read More…Tags: localization,l10n,Globalization,g11n