Hi,
in my Plone-site I switch languages by adding
'?set_language=LANGUAGE-CODE' to the url. This works fine but if I want
to get the current language with plone_portal_state.language() it always
returns the default language also it's supposed to return the current
language.
I'm running Plone 3.2.2 and LinguaPlone 2.4. Is it a bug or am I missing
something?
While playing around with language settings I found out that it is
possible to get the current language with
portal_languages.getLanguageBindings(). It's the first element of the
returned list. Are there any differences in getting the current language
between plone_portal_state.language() and
portal_languages.getLanguageBindings() besides former method doesn't
seem to work properly?
Best regards
Tobias
------------------------------------------------------------------------------
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users