23#include <unordered_map>
71 [[nodiscard]] std::string
Tr(
const std::string& key)
const;
79 void AddTranslation(
const std::string& languageCode,
const std::string& key,
const std::string& value);
92 std::string m_currentLanguage;
93 std::map<std::string, std::map<std::string, std::string>> m_translations;
102 mutable std::unordered_map<std::string, std::string> m_trCache;
108#define TR(key) MetaImGUI::Localization::Instance().Tr(key)