On 6/11/05, Michael Wohlfart <[EMAIL PROTECTED]> wrote:
> nice Article,
> BTW: Thanks for your articles, they really helped me a lot to get
> started with Lenya.
You are welcome.

> 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
Link added.

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

I added this option, expanded to remove the "drawback".  Enjoy.

solprovider

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

Reply via email to