UnleashedRecomp/UnleashedRecomp/locale/locale.h
2025-02-19 20:32:11 +03:00

17 lines
341 B
C++

#pragma once
enum class ELanguage : uint32_t
{
English = 1,
Japanese,
German,
French,
Spanish,
Italian
};
inline std::string g_localeMissing = "<missing string>";
extern std::unordered_map<std::string_view, std::unordered_map<ELanguage, std::string>> g_locale;
std::string& Localise(const std::string_view& key);