A simple gettext replacement that works directly on .po files

Reiner Herrmann dbc914f7ea Sort source files to get reproducible linking order 9 年之前
CMake 30d3b8d1cb Fix Windows builds/exports 9 年之前
images 53a233674f Added image files for the logo 9 年之前
include 13ae6593b2 Fix WError gcc (hopefully) 9 年之前
src e182927cca Add function to remove path from search path 9 年之前
test e7b785babe Potential fix for coverity TAINTED_SCALAR warning 9 年之前
.gitignore e711672dff Add tinygettext_Export.h to gitignore 9 年之前
.travis.yml ca6ddb0b4a Removed g++-4.7 from .travis.yml again, apperently it doesn't exist on Ubuntu12.04 9 年之前
CMakeLists.txt dbc914f7ea Sort source files to get reproducible linking order 9 年之前
FindICONV.cmake df7e1fc25c Removed some whitespace 9 年之前
LICENSE.md a01780c92a Add myself to LICENSE.md and update year 9 年之前
README.md 8237e6614a Add list of projects using tinygettext. 9 年之前
TODO 7f1a7bd6c8 Clarify API overloading TODO. 9 年之前
tinygettext.pc.in dcc354c499 URL updates 9 年之前

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