25 tinyxml2::XMLDocument
doc;
Allows The App To Show Different Languages.
int Errors()
Returns Error Code.
std::vector< std::string > BaseLang
tinyxml2::XMLDocument doc
std::vector< std::string > Translated
std::string GetLanguage()
Returns What The Translated Language Is.
void Add(std::string Base, std::string Translate)
Adds Values To The Arrays This function is used internally only.
int Count()
Returns The Number Of Strings Stored In The Arrays.
void SetPath(std::string Path)
Sets/Loads Path Opens the xml language file and reads it into two arrays.
std::string GetPath()
Returns The Path For The Language File.
std::string Translate(std::string Text)
The Actual Translate Function This function checks Text against the base languages strings,...