Hi,
I know that i18n-l10n issues will be solved in next version. But as many of you, I need some kind of multi-language support now.
My main problem is to avoid rewriting chunks and snippets in each different language. So having used the Apache Cocoon project since a long time, I’am wondering if reflecting the i18n transformer (see
http://cocoon.apache.org/2.1/userdocs/i18nTransformer.html) could be a simple and direct solution to many use case.
In the ModX world, it will be something as:
- Tagging i18n content, for example: [{i18n:ToBeTranslatedKey}]
- Using a plugin to transform all of this tagged content with the correct translation
Retrieving the correct language could come from another snippet.
Translation can simply be files... as already done by sottwell (I thought).
I’am Java developer, not really PHP, but with a little help from the community, and if any interest, I can go one with this.