Registry / utility / gettext-libintl

gettext-libintl

JSON →
library0.22.5vcpkgunverified

The libintl C library from GNU gettext-runtime provides internationalization (i18n) functions.

vcpkg install gettext-libintl
INSTALL
IMPORT
SIG · GETTEXT-LIBINTL
G
gettext-libintl
utilitycppv0.22.5
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.

libintl.h
#include <libintl.h>

Basic gettext usage for string translation

#include <libintl.h> #include <locale.h> #include <iostream> int main() { setlocale(LC_ALL, ""); bindtextdomain("myapp", "/usr/share/locale"); textdomain("myapp"); std::cout << gettext("Hello, world!") << std::endl; return 0; }
Debug
Known issues
gotchaOn some platforms, libintl may conflict with system gettext; ensure proper linking order.
fix
Use find_package(Intl) and link with Intl::Intl to avoid conflicts.
affects: *
Upgrade
Version history
0.22.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

gettext-libintl — pip install gettext-libintl · libregistry