-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
Gesendet: Dienstag, 13. Januar 2004 09:47
An: [EMAIL PROTECTED]
Betreff: RE: Woody with i18nThanks but
when i use yours proposed :localeParam = cocoon.request.getLocale()
the value is null (???)
but mine :
localeParam = cocoon.request.get("locale");
the value is : fr-FR or en-US
but it still can not work!!! ???i dont know why!!
cant somebody show me! thanks very muchp.s i checked and compared all my codes but i cant find what's wrong?
-----Original Message-----
From: Markus Heussen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 09, 2004 5:29 PM
To: [EMAIL PROTECTED]
Subject: AW: Woody with i18n
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
Gesendet: Freitag, 9. Januar 2004 10:29
An: [EMAIL PROTECTED]
Betreff: Woody with i18n
Hi all,
i am starting working on woody and i18n!
i can not transform from en to fr and vice versa!
if i declared in sitemap
<map:transform type="i18n">
<map:parameter name="locale" value="fr_FR"/>
</map:transform>
then all my pages will be in FR although i change page?locale="en-US" and if i declared in sitemap <map:transform type="i18n"><map:parameter name="locale" value="en_US"/>
</map:transform>
then all my pages will be in en although i change page?locale="fr-FR" please show me how to solve this?? thanks a lot and in my flow script (i got in the cocoon example):var localeParam = cocoon.request.get("locale");
how can i debug to see the localeParam??
why cant i use the "alert " function of _javascript_??
thanks a lot
Debug with print("some text") to your stdout of your servlet container or with cocoon.log.debug("some text") to your flowscript log. remember to setup logkit.xconf correctly to debug mode.
try using: var localeParam = cocoon.request.getLocale();
Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Title: RE: Woody with i18n
that's crasy
because for me it does what is expected, take a look a
there you can
find the getLocale() method. i'm using a current cvs version. sorry, but i
have no further hints.
markus
- Woody with i18n dhg
- AW: Woody with i18n Markus Heussen
- RE: Woody with i18n dhg
- Re:Woody with i18n Markus Heussen
- Re:Woody with i18n 許議中