nice Article,
you just missed my preferred way to implement i18n ;-)

<i18n:text i18n:key="key_text">Default value</i18n:text>

The string "Default value" is displayed if "key_text" isn't
found in the dictionary

pros:
1. The text reads correctly (if you ignore the key)
2. Maintenance is easy in the dictionaries

The only drawback is that you don't get a friendly "untranslated"
warning if you forget to translate a key.

a link to the cocoon docs about the i18n transformer would also
be nice:
http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html


BTW: Thanks for your articles, they really helped me a lot to get
started with Lenya.


Michael





[EMAIL PROTECTED] wrote:
Just created:
http://solprovider.com/lenya/i18n

Corrections?  Suggestions?

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to