You should place attribute translations in a dictionary file
in the same format as for all the other elements. Attribute translations are not
different from the rest. They just use special syntax to get the
values.
There *a lot* of sources about i18n where you could get
answers for most of the cases:
Internationalization docs: http://xml.apache.org/cocoon/userdocs/transformers/i18n-transformer.html
i18n samples in Cocoon source
at: /src/webapp/samples/i18n/
I18n transformer JavaDocs: http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/transformation/I18nTransformer.html
LocaleAction JavaDocs: http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/acting/LocaleAction.html
I hope they outline all the dark sides of Internationalization
and localization in Cocoon. You just have to read them carefully.
Konstantin
|
- using <i18n:attr>!!!!!!!!!! Hong Gia Dinh
- Konstantin Piroumian