Add option to manually set language

This commit is contained in:
Patrick Nicolas
2025-09-18 15:50:08 +02:00
parent f33dc57ec9
commit b411afb946
10 changed files with 479 additions and 352 deletions
+3
View File
@@ -23,3 +23,6 @@
#define _F(x) fmt::runtime(boost::locale::gettext(x))
#define _S(x) boost::locale::gettext(x).c_str()
#define _cS(c, x) boost::locale::pgettext(c, x).c_str()
std::vector<boost::locale::gnu_gettext::messages_info> get_locales();
std::vector<char> open_locale_file(const std::string & file_name, const std::string & encoding);