A simple gettext replacement that works directly on .po files

Marty 2079fd2a41 Fix install target hai 2 semanas
CMake 68509336bd Fix Windows builds/exports %!s(int64=8) %!d(string=hai) anos
images 53a233674f Added image files for the logo %!s(int64=9) %!d(string=hai) anos
include 0df910d838 Use target in cmake link command hai 2 meses
src cfd150dc24 Add DirectoryManager constructor that defaults to UnixFileSystem %!s(int64=2) %!d(string=hai) anos
test ddba95fd3f Merge remote-tracking branch 'supertux/supertux-modifications' %!s(int64=2) %!d(string=hai) anos
.appveyor-macos.yml 0c31494e2f Add Appveyor build file for MacOS %!s(int64=4) %!d(string=hai) anos
.appveyor.yml e406e999b0 Add .appveyor.yml %!s(int64=4) %!d(string=hai) anos
.gitignore 2fcecb7690 Reorganize flake.nix to allow cross-compiling %!s(int64=2) %!d(string=hai) anos
.travis.yml ca6ddb0b4a Removed g++-4.7 from .travis.yml again, apperently it doesn't exist on Ubuntu12.04 %!s(int64=9) %!d(string=hai) anos
CMakeLists.txt 2079fd2a41 Fix install target hai 2 semanas
LICENSE.md a01780c92a Add myself to LICENSE.md and update year %!s(int64=9) %!d(string=hai) anos
README.md 93ceb742f6 README.md: format list %!s(int64=7) %!d(string=hai) anos
TODO 7f1a7bd6c8 Clarify API overloading TODO. %!s(int64=9) %!d(string=hai) anos
flake.lock eb077671ef Update flake.nix to nixos-23.05 hai 1 ano
flake.nix eb077671ef Update flake.nix to nixos-23.05 hai 1 ano
guix.scm 282348ce7b Add Guix build file %!s(int64=5) %!d(string=hai) anos
tinygettext-config.cmake.in 85f4616432 Update tinycmmc %!s(int64=2) %!d(string=hai) anos
tinygettext.nix 2fcecb7690 Reorganize flake.nix to allow cross-compiling %!s(int64=2) %!d(string=hai) anos
tinygettext.pc.in dcc354c499 URL updates %!s(int64=9) %!d(string=hai) anos

README.md

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 arbitrary locations, so it's better suited for non-Unix systems and situations in which one wants to store or distribute .po files separately 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:

Projects using this library