Hi,
I have a multilanguage site that uses Umbracos dictionary feature to translate words. My problem is when im loading partialviews with jQuery load the dictionary items is on English and not the language the root node is set to. This only happens when the data is loaded after the view is loaded. All other dictionary items on my page works fine.
This is how i get the dictionary value from the partialview:
@Umbraco.GetDictionaryValue("Send")
Can i set the culture from the controller somehow?
Wrong language when loading data dynamically
Hi, I have a multilanguage site that uses Umbracos dictionary feature to translate words. My problem is when im loading partialviews with jQuery load the dictionary items is on English and not the language the root node is set to. This only happens when the data is loaded after the view is loaded. All other dictionary items on my page works fine.
This is how i get the dictionary value from the partialview:
Can i set the culture from the controller somehow?
Thanks in advance!
I found a solution, pass the culture to the surface controller then set the culture and it will work:
is working on a reply...