I’m testing out Localization in 5.2. It’s really good =)
But I can’t use portal.getContent, portal.getSite or portal.getComponent to get any data about which language is set on the site (or content). Had to create a config-setting on my Parts instead that sets language and then send that setting to my Thymeleaf and use it in my portal.localize-calls.
Any way to get the current site (or content) locale in 5.2? Or will that come in 6.0?