https://github.com/anotherfoxguy/mofilereader
:earth_africa: Dependency-free single-header library for reading .mo files (gettext) on any platform that supports C++
https://github.com/anotherfoxguy/mofilereader
cpp-library gettext header-only l10n l18n
Last synced: about 1 month ago
JSON representation
:earth_africa: Dependency-free single-header library for reading .mo files (gettext) on any platform that supports C++
- Host: GitHub
- URL: https://github.com/anotherfoxguy/mofilereader
- Owner: AnotherFoxGuy
- License: mit
- Created: 2018-09-03T09:33:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-08T17:02:30.000Z (5 months ago)
- Last Synced: 2025-04-09T07:51:20.314Z (about 2 months ago)
- Topics: cpp-library, gettext, header-only, l10n, l18n
- Language: C++
- Homepage: https://anotherfoxguy.com/MofileReader/
- Size: 225 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mofilereader
============This API lets you read .mo-Files and use their content just as you would do with GNUs gettext. It is implemented in C++ with a very liberal license, allowing the programmer to use it in modern programs, without the need of linking against gettext and libiconv.
You will need cmake to build it as a seperate application or library, or just include the few files into your project. Any C++ Compiler should suffice.
This only fully supports utf-8, as I don't want this to be extensive.Optionally, you can also build an executable that is able to dump any .mo file to .html to peek into the contents of this file.
Please report any issues you encounter, I can't fix them if I don't know about them!