MFTranslation.h File Reference

Mount Fuji localisation interface. More...


Enumerations

enum  MFLanguage {
  MFLang_Unknown = -1, MFLang_English = 0, MFLang_French, MFLang_Spanish,
  MFLang_German, MFLang_Italian, MFLang_Swedish, MFLang_Norwegian,
  MFLang_Danish, MFLang_Japanese, MFLang_Korean, MFLang_Chinese,
  MFLang_Russian, MFLang_Portuguese, MFLang_Max, MFLang_ForceInt = 0x7FFFFFFF
}
 Language enums. More...

Functions

const char * MFTranslation_GetLanguageName (MFLanguage language, bool native=false)
 Get the name of a language.
MFLanguage MFTranslation_GetDefaultLanguage ()
 Get the system default language.
MFStringTableMFTranslation_LoadStringTable (const char *pFilename, MFLanguage language, MFLanguage fallback=MFLang_English)
 Load a translation string table.
MFStringTableMFTranslation_LoadEnumStringTable (const char *pFilename)
 Load a translation table containing enum keys.
void MFTranslation_DestroyStringTable (MFStringTable *pTable)
 Destroy a loaded string table.
int MFTranslation_GetNumStrings (MFStringTable *pTable)
 Get the number of strings in the table.
int MFTranslation_FindString (MFStringTable *pTable, const char *pString)
 Find a string in the table.
const char * MFTranslation_GetString (MFStringTable *pTable, int stringID)
 Get a string from the string table.


Detailed Description

Provides a set of functions to manage translation and localisation.
Author:
Manu Evans

Generated on Sat Oct 28 16:27:28 2006 for MountFuji Engine by  doxygen 1.4.5