Hello, I would like to address you with an issue that occurres when we change app default language from en to cs-CZ. If we do that, the server doesn’t return all localization sources (Abp, AbpWeb, AbpZero). Key and values from these sources are empty a it just returns values: { Abp:{}, AbpWeb:{}, AbpZero:{}, App:{…}}. When we set default language back to en everything works fine. We really need to have default language set to cs-CZ.
Nevertheless, if we modify value for key in DB app returns only modified values.
It works properly on my localhost, but on my colleague’s and on our dev and production server it does not.
Thank you.
4 Answer(s)
-
0
Hi,
Sorry for our late reply. Do you have XML file for cs-CZ culture ?
-
0
Hello, yes we do have XML files with translations for our app (ourapp.cs-CZ.xml and ourapp.xml - the second one for english). We do not have problem with that. We have a problem with Abp, AbpWeb, AbpZero which are returned empty when we set default language on cs-CZ. Is there any possible way how to register XML files for these sources with culture cs-CZ?
Thank you.
-
1
hi @TPATax you can try Extending Localization Sources
see https://aspnetboilerplate.com/Pages/Documents/Localization#extending-localization-sources
-
0
Hi, @maliming, thank you for the link provided. It looks like it works properly right now.