-
Notifications
You must be signed in to change notification settings - Fork 124
VRage.MyTexts
← Index ← Namespace Index
public abstract sealed class MyTexts
Namespace: VRage
Assembly: VRage.dll
static MyStringId GAMEPAD_VARIANT_ID
static MyStringId GlobalVariantSelector { get; }
Global selector for translation variants.
static DictionaryReader<MyLanguagesEnum, MyLanguageDescription> Languages { get; }
static bool Exists(MyStringId id)
static StringBuilder Get(MyStringId id)
static MyLanguagesEnum GetBestSuitableLanguage(string culture)
static string GetString(MyStringId id)
static string GetString(string keyString)
static string GetSystemLanguage()
static bool IsTagged(string text, int position, string tag)
static void LoadTexts(string rootDirectory, string cultureName = null, string subcultureName = null)
static bool MatchesReplaceFormat(string str)
static void RegisterEvaluator(string prefix, ITextEvaluator eval)
static void SetGlobalVariantSelector(MyStringId variantName)
Set the global variant to be selected for each translation.
static string SubstituteTexts(string text, string context = null)
static StringBuilder SubstituteTexts(StringBuilder text)
static string TrySubstitute(string input)
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!