From 7cbb0c29020e6a22e87ca96cb6d2b258c770180e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 15 Mar 2023 14:26:59 +0300 Subject: [PATCH] Add warning for culture section of localization files. --- docs/en/Localization.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/Localization.md b/docs/en/Localization.md index 089567422c..a432d6afb2 100644 --- a/docs/en/Localization.md +++ b/docs/en/Localization.md @@ -87,6 +87,8 @@ A JSON localization file content is shown below: * Every localization file should define the `culture` code for the file (like "en" or "en-US"). * `texts` section just contains key-value collection of the localization strings (keys may have spaces too). +> ABP will ignore (skip) the JSON file if the `culture` section is missing. + ### Default Resource `AbpLocalizationOptions.DefaultResourceType` can be set to a resource type, so it is used when the localization resource was not specified: