Hi,
I am getting a Warn in my log files in the server:
naries.DictionaryBasedLocalizationSource - Can not find 'MainMenu' in localization source 'Abp'!
It only happens when my application is published and running in IIS server. In my local develop machine it doesn't happen.
Futhermore, in my .xml file I have it specified: <text name="MainMenu">Main menu</text>
Some idea what is going on?
Cheers.
9 Answer(s)
-
0
You can refer to the relevant discussion to see if it works for you?https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2218
-
0
-
0
Check the default language in settings table.
-
0
-
0
No, I believe you don't need.
Try removing default language suffix from XML file name.
-
0
Do you mean changing "en-GB" to "en"?
Do I need to change from Language and Settings table as well?
-
0
No, I mean changing Avalanche-en-GB.xml to Avalanche.xml.
No need to change elsewhere.
-
1
Resolved.
I changed the culture from "en-GB" to "en" and filename to "Avalanche-en.xml".'
Changed the settings to "en" be the default language.
-
0
Changing the culture, I got some erros parsing date from parameters and database. So, I left the original culture, I just added one more language in the AbpLanguages table with name = 'en'.