Hi all,
Which would be the canonical way of getting the language of a content object in a browserview?
I'm using plone app.multilingual and it looks like there are two options:
language = obj.Language()
with the caveat "All content objects don’t necessarily support the Language() look-up defined by the IDublinCore interface."
https://docs.plone.org/develop/plone/i18n/language.html
or using the interface/adapter in CMFPlone.interfaces
language = ILanguage(obj).get_language()
https://docs.plone.org/external/plone.app.multilingual/README.html