Esempio n. 1
0
 public string CurrentLanguage()
 {
     switch (ApplicationLocalizationContext.CurrentLanguageName())
     {
     case "RUS":
     default:
         return("ru");
     }
 }
Esempio n. 2
0
 public static string Localize(this string source, string languageName)
 {
     return(ApplicationLocalizationContext.Localize(source, languageName));
 }
Esempio n. 3
0
 public static string Localize(this string source)
 {
     return(ApplicationLocalizationContext.Localize(source));
 }
Esempio n. 4
0
 public static string Localize(this string source, CultureInfo culture)
 {
     return(ApplicationLocalizationContext.Localize(source, culture));
 }