-----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]