LocalizationManager
Introduction
Code Example - Translating a String ID using the Translate method
// This assumes that T_Hello is a valid key in your localization database
string stringId = "T_Hello";
string translatedText = LocalizationManager.Translate(stringId);
// translatedText should now be the translated text in whatever language you're working in.Setting Language
LocalizationManager.CurrentLanguage = 1;// Assuming your localization database has at least 4 columns:
var translatedText = LocalizationManager.TranslateForLanguage("T_Hello", 3);Last updated
Was this helpful?