Fix BaseLayout not using translations

This commit is contained in:
jvyden 2022-08-01 18:41:52 -04:00
parent 71ff91f4fc
commit d1bec61b90
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
2 changed files with 5 additions and 2 deletions

View file

@ -11,6 +11,8 @@ public static class LocalizationManager
public static string GetLocalizedString(TranslationAreas translationArea, string language, string key)
{
// return $"{translationArea.ToString()}.{language}.{key}";
// ASP.NET requires specific names for certain languages (like ja for japanese as opposed to the standard ja-JP)
// We map that value back here.
language = mapLanguageBack(language);