improve locale detection as much as possible

This commit is contained in:
A-lex-Ra
2023-12-26 19:54:03 +06:00
parent 1dae8c2c31
commit 307df37ba7
5 changed files with 35 additions and 29 deletions
+1 -1
View File
@@ -5,8 +5,8 @@
namespace platform {
extern void configure_encoding();
// @return environment locale in ISO format ll_CC
extern std::string detect_locale();
extern std::string get_locale_by_lang(std::string lang);
}
#endif // UTIL_PLATFORM_H_