Files
comaps/libs/platform/locale.hpp
Konstantin Pastbin bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00

23 lines
440 B
C++

#pragma once
#include <string>
namespace platform
{
std::string const kNonBreakingSpace = "\u00A0";
std::string const kNarrowNonBreakingSpace = "\u202F";
struct Locale
{
public:
std::string m_language;
std::string m_country;
std::string m_currency;
std::string m_decimalSeparator;
std::string m_groupingSeparator;
};
Locale GetCurrentLocale();
bool GetLocale(std::string localeName, Locale & result);
} // namespace platform