Hello Serge,
Thanks for your feedback.
I know that jParams.getLocale() would give this data
But my understanding is that the Jahia beans are not accessible from the context of a webapp, but only the few session variables defined in http://cvspub.jahia.org/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/applications/ServletIncludeRequestWrapper.java
Am I wrong ? Regards,
Olivier
Serge Huber wrote:
Hi Olivier,
You should be able to get this information from the getLocale() method.
Regards, Serge Huber.
Olivier Vit wrote:
Hi
I'm building a small webapp to display content extracted from a legacy database. Depending on the language of the page currently displayed by Jahia, labels and content should be customized to the same language.
It looks that org\jahia\services\applications\ServletIncludeRequestWrapper.java does set a few session values made available to web-apps running within Jahia as a portlet, but I can't see any that would give the information of the language of the current page.
Is there any other manner to get this language info ?
Thanks for your help
begin:vcard fn:Olivier Vit n:Vit;Olivier org:DUKE - Digital Age Agency adr;quoted-printable:;;12bis rue des Colonnes du Tr=C3=B4ne;Paris;;75012;France email;internet:[EMAIL PROTECTED] title:Chef de projet technique tel;work:+33 1 53 44 19 46 tel;cell:+33 6 22 69 65 75 x-mozilla-html:TRUE url:http://www.duke-interactive.com version:2.1 end:vcard
