0ad/source/third_party/tinygettext
Ralph Sennhauser d503ae6da6
Replace boost::filesystem std::filyestem
Bumping the minimum version of macOS to 10.15 for spidermonky [1] also
allows us to use std::filesystem instead of boosts implementation.

[1] f14a98e26f

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
(cherry picked from commit eba8439295)
Signed-off-by: phosit <phosit@autistici.org>
2025-10-31 13:43:50 +01:00
..
include/tinygettext Update tinygettext to match upstream. 2020-12-07 13:15:31 +00:00
src Replace boost::filesystem std::filyestem 2025-10-31 13:43:50 +01:00
LICENSE.md Update tinygettext. 2015-06-01 01:09:19 +00:00
README.md Update tinygettext. 2015-06-01 01:09:19 +00:00

tinygettext

tinygettext is a minimal replacement for gettext 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 it's better suited for non-Unix systems and situations in which one wants to store or distribute .po files seperately from the software itself. It is licensed under zlib license.

The latest version can be found at:

Detecting the locale setting

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