Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Hi Jesper,
Your language file looks fine.
I have similar problem. Localized text is cached on server side and in browser.
It works when I kill the IIS from task manager, run the website, clear browser cache, and refresh the page :)
Can you also try to remove <menuitems> section from your language file and see what happens?
After adding <menuitems> section in my language files, edit mode breaks: blank screen, no page tree, etc.
Hi!
I just tried to remove the <menuitems> element and I am afraid it did not help.
Thank you for your suggestion though!
Alright, problem solved.
Language-files checked out to be ok.
It was a silly mistake with a missing user-language not being set (Episerver --> "My settings" --> "Display options" --> "Personal language")
Hi!
For some reason EPiServer does not pickup our localized texts for property labels, but instead use the english texts. I have checked the following:
- ContentLanguage.PreferredCulture is 'da'
- CultureInfo.CurrentUICulture is 'da'
When retrieving language-texts for content from the language-file, the 'da' texts are correctly retrieved, so it only seems to be a problem when retrieving texts for localized properties for EPiServer.
This is my language file:
This is my housedetailspage.cs:
BaseViewPage is a class that inherits directly from PageData.
Any input is appreciated :)
Best regards
Jesper