BMC Engine v1.0.0
An open-source game engine powered by C and C++
Loading...
Searching...
No Matches
Translator.h
1#ifndef TRANSLATOR_H
2#define TRANSLATOR_H
3
4#include <iostream>
5#include <string>
6
7#include "../../files/FileReader.h"
8#include <unordered_map>
9
14public:
19 Translator(std::string locale);
20
26 std::string translate(std::string key);
27private:
28 std::unordered_map<std::string, std::string> languageMap;
29};
30
31#endif
Definition Translator.h:13
Translator(std::string locale)
Definition Translator.cpp:3
std::string translate(std::string key)
Definition Translator.cpp:21