0ad/source/third_party/tinygettext
Yves de6823d23f Makes tinygettext handle missing plural forms more sanely.
Print an error to the console and return the original (untranslated)
string instead of triggering an assertion in debug builds or a crash and
memory corruption in release builds.
Works around a crash on the history screen. Why the plural form is
missing is another topic and will have to be solved separately.

This was SVN commit r15493.
2014-07-05 10:29:24 +00:00
..
include/tinygettext Added third-party libraries for internationalization and localization: ICU and tinygettext 2014-04-20 19:17:32 +00:00
src Makes tinygettext handle missing plural forms more sanely. 2014-07-05 10:29:24 +00:00
COPYING Added third-party libraries for internationalization and localization: ICU and tinygettext 2014-04-20 19:17:32 +00:00
README Added third-party libraries for internationalization and localization: ICU and tinygettext 2014-04-20 19:17:32 +00:00

tinygettext
===========

tinygettext is a minimal gettext() replacement written in C++. It can
read .po files directly and doesn't need .mo files generated from .po.
It also can read the .po files from arbitary locations, so its much
better suited for non-Unix systems and situations in which one wants
to store or distrubite .po files seperatly from the software itself.



Detecting the locale setting
============================

Different operating systems store the default locale in different
places; a portable way to find it is provided by FindLocale:

 * http://icculus.org/~aspirin/findlocale/


# EOF #