Player12
An open source football management simulator
Loading...
Searching...
No Matches
language_manager.h File Reference
#include <cstddef>
#include <functional>
#include <string>
#include <string_view>
#include <unordered_map>
#include "global/languages.h"
#include "global/number_format.h"

Go to the source code of this file.

Classes

class  LanguageManager
 Singleton class that manages localization and translations. More...
 
struct  LanguageManager::Status
 What the last load left in place. More...
 
struct  LanguageManager::StringHash
 

Macros

#define LOC(key)   LanguageManager::instance().get(key)
 Global helper macro for concise UI code localization.
 

Macro Definition Documentation

◆ LOC

#define LOC (   key)    LanguageManager::instance().get(key)

Global helper macro for concise UI code localization.

Parameters
keyThe key to translate.