Skip to content

Commit 176aa37

Browse files
authored
Add Japanese language to DefaultLanguagesCreator
Add the Japanese language as an available language. The .xml file is in the project, so there is no clear reason on why it was excluded to begin with. Tested locally and the language loads and the flag is displayed.
1 parent 676a664 commit 176aa37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ private static List<ApplicationLanguage> GetInitialLanguages()
2424
new ApplicationLanguage(null, "tr", "Türkçe", "famfamfam-flags tr"),
2525
new ApplicationLanguage(null, "ru", "Русский", "famfamfam-flags ru"),
2626
new ApplicationLanguage(null, "zh-CN", "简体中文", "famfamfam-flags cn"),
27-
new ApplicationLanguage(null, "es-MX", "Español México", "famfamfam-flags mx")
27+
new ApplicationLanguage(null, "es-MX", "Español México", "famfamfam-flags mx"),
28+
new ApplicationLanguage(null, "ja", "日本語", "famfamfam-flags jp")
2829
};
2930
}
3031

@@ -58,4 +59,4 @@ private void AddLanguageIfNotExists(ApplicationLanguage language)
5859
_context.SaveChanges();
5960
}
6061
}
61-
}
62+
}

0 commit comments

Comments
 (0)