mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
improve locale detection as much as possible
This commit is contained in:
parent
1dae8c2c31
commit
307df37ba7
5 changed files with 35 additions and 29 deletions
|
|
@ -48,6 +48,9 @@ namespace langs {
|
|||
const std::filesystem::path& resdir,
|
||||
std::string& fallback);
|
||||
|
||||
extern std::string locale_by_envlocale(const std::string& envlocale,
|
||||
const std::filesystem::path& resdir);
|
||||
|
||||
extern void load(const std::filesystem::path& resdir,
|
||||
const std::string& locale,
|
||||
const std::vector<ContentPack>& packs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue