A simple gettext replacement that works directly on .po files

MatusGuy 3a90f67ea5 Add support for tinygettext with SDL on Windows 9 mēneši atpakaļ
CMake 68509336bd Fix Windows builds/exports 8 gadi atpakaļ
images 53a233674f Added image files for the logo 9 gadi atpakaļ
include cfd150dc24 Add DirectoryManager constructor that defaults to UnixFileSystem 2 gadi atpakaļ
src cfd150dc24 Add DirectoryManager constructor that defaults to UnixFileSystem 2 gadi atpakaļ
test ddba95fd3f Merge remote-tracking branch 'supertux/supertux-modifications' 2 gadi atpakaļ
.appveyor-macos.yml 0c31494e2f Add Appveyor build file for MacOS 4 gadi atpakaļ
.appveyor.yml e406e999b0 Add .appveyor.yml 4 gadi atpakaļ
.gitignore 2fcecb7690 Reorganize flake.nix to allow cross-compiling 2 gadi atpakaļ
.travis.yml ca6ddb0b4a Removed g++-4.7 from .travis.yml again, apperently it doesn't exist on Ubuntu12.04 9 gadi atpakaļ
CMakeLists.txt 3a90f67ea5 Add support for tinygettext with SDL on Windows 9 mēneši atpakaļ
LICENSE.md a01780c92a Add myself to LICENSE.md and update year 8 gadi atpakaļ
README.md 93ceb742f6 README.md: format list 6 gadi atpakaļ
TODO 7f1a7bd6c8 Clarify API overloading TODO. 8 gadi atpakaļ
flake.lock eb077671ef Update flake.nix to nixos-23.05 1 gadu atpakaļ
flake.nix eb077671ef Update flake.nix to nixos-23.05 1 gadu atpakaļ
guix.scm 282348ce7b Add Guix build file 5 gadi atpakaļ
tinygettext-config.cmake.in 85f4616432 Update tinycmmc 2 gadi atpakaļ
tinygettext.nix 2fcecb7690 Reorganize flake.nix to allow cross-compiling 2 gadi atpakaļ
tinygettext.pc.in dcc354c499 URL updates 9 gadi atpakaļ

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