Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include "CLanguages.hpp"
#include "core/CSystem.hpp"
#include "core/assert.hpp"
#include "core/file.hpp"
#include <algorithm>
#include <libintl.h>
#include <map>
#include <ranges>
#include <string>
#include <vector>
Classes | |
struct | SPrvLanguage |
Functions | |
static void | prvLoadLanguages () |
static SPrvLanguage | prvGetLanguage (const iv::eLanguage eLanguage, std::map< iv::eLanguage, SPrvLanguage > languages) |
static std::string | prvGetFirstLanguageAvailable (const std::map< iv::eLanguage, std::string > &translates) |
Variables | |
static std::map< iv::eLanguage, SPrvLanguage > | prvSLanguages |
|
static |
|
static |
Private function that check if some language exist and is contemplated in map of languages
eLanguage | Language to find |
languages | Map with languages |
|
static |
Load languages with its locale code in map "languages"
|
static |
Languages Map