Thursday 04 March 2004 4:43:51 am
You need write the strings in english in the templates, then translate them into german and hungarian. The syntax of i18n is i18n(context, comment, replacementlist). Normally you only need context which defines a common place for multiple translations, the name of the context is entirely up to you. e.g.
{"Send"|i18n( "my/layout" )}
You must then use the ezlupdate program to create the translation files, say you have the templates in <i>mydesign</i> in an extension called <i>myextension</i>.
ezlupdate -e myextension
You can add the <i>-v</i> to see which files are processed.
--
Amos
Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq
|