Page: http://wiki.cocoondev.org/Wiki.jsp?page=YoYe , version: 1 on Tue Mar 11 11:51:34 2003 by YoYe
New page created: + !!!YoYe + Information System Engineer - a cocoon user\\ + [My Web site|http://www.yoye.fr.st] + Page: http://wiki.cocoondev.org/Wiki.jsp?page=I18NTransformer , version: 9 on Tue Mar 11 11:57:55 2003 by YoYe - This description supposes that you first defined a catalog file like the following : + This description supposes that you first defined a __catalog__ file like the following : ? ++ ++ - You also must configure the main cocoon sitemap like this : + You also must configure the main cocoon __sitemap__ like this : ? ++ ++ + Here is the way to call it in a __pipeline__ : + {{{ + <map:pipelines> + <map:pipeline> + <map:match pattern="mypage.html"> + <map:generate src="mypage.html"/> + <map:transform type="i18n"/> + <map:serialize type="html"/> + </map:match> + </map:pipeline> + </map:pipelines> + }}} - Here is now how you can internationalize : + Here is now how you can internationalize items : ? ++++++ - Write {{<i18n:text>aKey</i18n:text>}} in your HTML or XSL source code. This will be replaced by the text corresponding to this key in the catalog. ? ------- + Write {{<i18n:text>aKey</i18n:text>}} in your HTML source code. This will be replaced by the text corresponding to this key in the catalog.
