mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-19 16:02:26 +00:00
Fix BaseLayout not using translations
This commit is contained in:
parent
71ff91f4fc
commit
d1bec61b90
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue