I18N ==== Internationalization and Localization functions leveraging `GNU Gettext `__. .. admonition:: Info To use declarations from this page, include the ```` header. .. cpp:namespace-push:: essence .. cpp:function:: template \ std::string _(const char* msgid, Args&&... args) GNU Gettext wrapper accepting :cpp:expr:`std::format` arguments. .. rubric:: Example .. code-block:: cpp std::string name = "Will"; std::string my_message = _("Hello {}!", name); .. cpp:function:: template \ std::string _n(u64 n, const char* singular, const char* plural, Args&&... args) GNU NGettext wrapper accepting :cpp:expr:`std::format` arguments. .. rubric:: Example .. code-block:: std::string program_name = "file-processor"; u64 count = 100; std::string message = _n(count, "{}: Processed {} file.", "{}: Processed {} files.", count, program_name);