setting language in session at top of template doesn't work
If you do something like this at the top of a template $request.getSession().setAttribute('com.dotmarketing.htmlpage.language', '2')
English images will still show. I would think this would set the language in the session and the follow up requests would serve based on the set session language
https://www.flowdock.com/app/dotcms/dev-team-rex/threads/1lOB6s8zqzcwhnpSZ2Nh7hQ2cER
Even if you flush cache?
Sorry, don't mean to reply to my own post - I mean browser cache?
not a cache thing here from what I can tell
Not able to reproduce, probably fixed with this one https://github.com/dotCMS/core/issues/9512 @DeanGonzalez is gonna update the server with the latest changes and try once again.
I tested and reported to Erick that I am still seeing the errors in my local as of today's build - he is re-testing.
@shaydotcms please make sure this is still working: https://github.com/dotCMS/core/issues/8388
PR: https://github.com/dotCMS/core/pull/9603
I tested this issue again, seems like latest changes have fixed all cases... looking good!
I also tested the case in this task: https://github.com/dotCMS/core/issues/8388 - and something like: http://localhost:8080/?language_id=45 - does pass the test and resolves to the default language, you do have to remember to ctrl/cmd-R to get the image to refresh because of the browser cache, but it works.