M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Localization.LocalizedTextManager Class Reference

Static Public Member Functions

static string GetTranslatedText (string languageId, string id)
 
static List< string > GetLanguageIds (bool developmentMode)
 
static string GetLanguageTitle (string id)
 
static LanguageSpecificTextProcessor CreateTextProcessorForLanguage (string id)
 
static void AddLanguageTest (string id, string processor)
 
static int GetLanguageIndex (string id)
 
static void LoadLocalizationXmls (string[] loadedModules)
 
static string GetDateFormattedByLanguage (string languageCode, DateTime dateTime)
 
static string GetTimeFormattedByLanguage (string languageCode, DateTime dateTime)
 
static string GetSubtitleExtensionOfLanguage (string languageId)
 
static string GetLocalizationCodeOfISOLanguageCode (string isoLanguageCode)
 Returns localization code used in, in-game localization files, from given ISO-Language Code.
 
static string ChangeLanguage (List< string > strings)
 
static string ReloadTexts (List< string > strings)
 
static string CheckValidity (List< string > strings)
 

Static Public Attributes

const string LanguageDataFileName = "language_data"
 
const string DefaultEnglishLanguageId = "English"
 

Member Function Documentation

◆ GetTranslatedText()

static string TaleWorlds.Localization.LocalizedTextManager.GetTranslatedText ( string  languageId,
string  id 
)
static

◆ GetLanguageIds()

static List< string > TaleWorlds.Localization.LocalizedTextManager.GetLanguageIds ( bool  developmentMode)
static

◆ GetLanguageTitle()

static string TaleWorlds.Localization.LocalizedTextManager.GetLanguageTitle ( string  id)
static

◆ CreateTextProcessorForLanguage()

static LanguageSpecificTextProcessor TaleWorlds.Localization.LocalizedTextManager.CreateTextProcessorForLanguage ( string  id)
static

◆ AddLanguageTest()

static void TaleWorlds.Localization.LocalizedTextManager.AddLanguageTest ( string  id,
string  processor 
)
static

◆ GetLanguageIndex()

static int TaleWorlds.Localization.LocalizedTextManager.GetLanguageIndex ( string  id)
static

◆ LoadLocalizationXmls()

static void TaleWorlds.Localization.LocalizedTextManager.LoadLocalizationXmls ( string[]  loadedModules)
static

◆ GetDateFormattedByLanguage()

static string TaleWorlds.Localization.LocalizedTextManager.GetDateFormattedByLanguage ( string  languageCode,
DateTime  dateTime 
)
static

◆ GetTimeFormattedByLanguage()

static string TaleWorlds.Localization.LocalizedTextManager.GetTimeFormattedByLanguage ( string  languageCode,
DateTime  dateTime 
)
static

◆ GetSubtitleExtensionOfLanguage()

static string TaleWorlds.Localization.LocalizedTextManager.GetSubtitleExtensionOfLanguage ( string  languageId)
static

◆ GetLocalizationCodeOfISOLanguageCode()

static string TaleWorlds.Localization.LocalizedTextManager.GetLocalizationCodeOfISOLanguageCode ( string  isoLanguageCode)
static

◆ ChangeLanguage()

static string TaleWorlds.Localization.LocalizedTextManager.ChangeLanguage ( List< string >  strings)
static

◆ ReloadTexts()

static string TaleWorlds.Localization.LocalizedTextManager.ReloadTexts ( List< string >  strings)
static

◆ CheckValidity()

static string TaleWorlds.Localization.LocalizedTextManager.CheckValidity ( List< string >  strings)
static

Member Data Documentation

◆ LanguageDataFileName

const string TaleWorlds.Localization.LocalizedTextManager.LanguageDataFileName = "language_data"
static

◆ DefaultEnglishLanguageId

const string TaleWorlds.Localization.LocalizedTextManager.DefaultEnglishLanguageId = "English"
static