Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Culture gets lost and reset to master language when I call conrtoller's action (both with ajax and without ajax). The links below helps to fix issue on ajax call but I am getting this issue even when I do not use ajax. Also, it is very annoying to use attribute in all actions as explained in these articles.
https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2019/4/localizationculture-is-lost-upon-ajax-request/
https://stefanolsen.com/posts/ensuring-the-right-ajax-content-language-using-a-filter-attribute/
My controller action looks like below.