Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laurent22/simple-gettext
https://github.com/laurent22/simple-gettext
c-plus-plus gettext gettext-library qt-framework qt-wrapper
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/laurent22/simple-gettext
- Owner: laurent22
- License: other
- Created: 2013-01-19T11:05:07.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-10-13T14:36:42.000Z (about 7 years ago)
- Last Synced: 2024-09-29T07:23:30.099Z (about 1 month ago)
- Topics: c-plus-plus, gettext, gettext-library, qt-framework, qt-wrapper
- Language: C++
- Size: 16.6 KB
- Stars: 10
- Watchers: 5
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Introduction
============This library allows parsing and using Gettext mo files in C++ projects. A Qt wrapper is also provided which allows using Gettext in Qt projects.
The library is divided into three parts:
* An Mo file parser, which provide a way to extract the strings from the file and match an original string to a translated string.
* A class to manage a set of MO files. You set the location of the mo files, the current locale and other parameters, and the class automatically determine which mo file to use. The latter is then parsed and ready to use. This class is generic enough to be used in any C++ project.
* Finally, a Qt wrapper is provided to provide support for Gettext in the Qt Framework.Documentation
=============* [Using the Gettext library in any C++ project](https://github.com/laurent22/simple-gettext/wiki/Using-The-Gettext-Library-In-Standard-Cpp-Projects)
* [Using the Gettext library with the Qt Framework](https://github.com/laurent22/simple-gettext/wiki/Setting-Up-The-Gettext-Library-For-Qt)