A library for looking up strings in gettext mo files.
| cmake | Initial commit | |
| include/libmo | Initial commit | |
| kaitai @4295f7ac54 | Initial commit | |
| lib | Initial commit | |
| .clang-format | Initial commit | |
| .editorconfig | Initial commit | |
| .gitignore | Initial commit | |
| .gitmodules | Initial commit | |
| CMakeLists.txt | Initial commit | |
| LICENSE | Initial commit | |
| ReadMe.md | Initial commit | |
libmo.cpp Unlicensed work
(削除) GitHub Actions (削除ここまで)
Libraries.io Status
A library to parse gettext/libintl mo format.
Why?
- NIH-syndrome :)
libintldoesn't expose the "middle-level" API to fetch a certain value from amofile by a given a key. Only "high-level" API for translating apps, that does too much things itself (enforces policy), is exposed.catgetsis a low-level lib looking up messages by their ids, not by their keys.
I needed to just have a key-value database and has chosen mo files for it. It seems that existing libs don't support this workflow.
How
We use an own Kaitai Struct-based parser of mo files.