Registry / other / spirit-po

spirit-po

JSON →
library1.1.2vcpkgunverified

A header-only C++ library for localization using GNU gettext po files, based on Boost.Spirit.

vcpkg install spirit-po
INSTALL
IMPORT
SIG · SPIRIT-PO
S
spirit-po
othercppv1.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

spirit_po.hpp
#include <spirit_po.hpp>

Loads a .po file and translates a string

#include <spirit_po.hpp> #include <iostream> int main() { spirit_po::catalog cat; cat.load("messages.po"); std::cout << cat.gettext("Hello") << std::endl; return 0; }
Debug
Known issues
gotchaRequires Boost.Spirit and Boost.Fusion
fix
Add Boost as a dependency
affects: *
Upgrade
Version history
1.1.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources

No resource links recorded.

spirit-po — pip install spirit-po · libregistry