A simple gettext replacement that works directly on .po files

Tobias Markus 5cc9923386 Always prefer translations from language packs over included translations (tinygettext part) 8 jaren geleden
CMake 432ca8864e Fix Windows builds/exports 9 jaren geleden
images 53a233674f Added image files for the logo 10 jaren geleden
include 5cc9923386 Always prefer translations from language packs over included translations (tinygettext part) 8 jaren geleden
src 5cc9923386 Always prefer translations from language packs over included translations (tinygettext part) 8 jaren geleden
test 144fb6d917 Revert "Possible fix for coverity error" 9 jaren geleden
.gitignore 2878f31940 Add tinygettext_Export.h to gitignore 9 jaren geleden
.travis.yml ca6ddb0b4a Removed g++-4.7 from .travis.yml again, apperently it doesn't exist on Ubuntu12.04 9 jaren geleden
CMakeLists.txt 0c2469dac2 Improve Windows compile experience 8 jaren geleden
FindICONV.cmake df7e1fc25c Removed some whitespace 10 jaren geleden
LICENSE.md 0e4adde0b6 Replaced GPL2+ with zlib license 9 jaren geleden
README.md 8237e6614a Add list of projects using tinygettext. 9 jaren geleden
TODO 7f1a7bd6c8 Clarify API overloading TODO. 9 jaren geleden
tinygettext.pc.in dcc354c499 URL updates 10 jaren geleden

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 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:

Projects using this library

0 A.D. ET:Legacy LinCity-NG Me and My Shadow Multi Theft Auto Pingus SuperTux SuperTuxKart Unvanquished