Example #1
0
    public string Get(LocaleTextType textType, string defaultText = "")
    {
        // await this.PrepareLocale();
        var locale = this.GetLocaleLookup();

        return(locale.Lookup(textType, defaultText));
    }
 public string Lookup(LocaleTextType type, string defaultValue)
 {
     return(this.lookup.ContainsKey(type) ? this.lookup[type] : defaultValue);
 }