public string GetString(LocStr locStr) { if (localizedStringLookup.TryGetValue(locStr, out string foundStr)) { return(foundStr); } return(""); }
public static string Format(LocStr locKey, params object[] parameters) { return(string.Format(instance.GetString(locKey), parameters)); }
public static string Get(LocStr locKey) { return(instance.GetString(locKey)); }