Hello,
I've a problem with language in Watch List Application: I'm in a French
organization, but my notification message is in english.
My platforms are:
- DEV: XWIKI ENTERPRISE 2.7.33656 on Tomcat 6.0 / Windows XP
- PROD: XWIKI ENTERPRISE 2.7.33656 on Tomcat 5.5.25 / Linux
Same behaviour on both:
In any document, $msg.get("watchlist.notification.email.greeting",
["Nicolas"]) ==> "Bonjour Nicolas,". (==> my bundles are
correct)
But in the Notification Message,
$msg.get("watchlist.notification.email.greeting", ["Nicolas"]) ==>
"Hello Nicolas," and $context.language == "en" (I've printed the
value in the message to check)
My configuration:
- In admin page: Multilingual=fr, languages=fr, defaultlanguage=fr
- In each user preferences page: DefaultLanguage=fr
- In WatchListMessage page (object editor): language changed from "en" to
"fr"
- In Tomcat: -Duser.language=fr -Duser.country=FR (checked in tomcat admin application)
Something is wrong, but I don't see what
Any Idea?
Thank you
-------------
Nicolas Chéneau-Gréhalle