3#include <Covellite\Os\Configuration.hpp>
4#include <alicorn\std\string.hpp>
6using namespace covellite::os;
8auto Configuration::GetRawSystemLanguage(
void)
const -> String_t
10 wchar_t Buffer[LOCALE_NAME_MAX_LENGTH] = { 0 };
11 const auto Count = GetUserDefaultLocaleName(Buffer, LOCALE_NAME_MAX_LENGTH);
13 return (Count == 0) ? uT(
"Unknown") :
14 ::alicorn::extension::std::String::GetString(Buffer);