[ http://issues.apache.org/jira/browse/COCOON-1587?page=all ]
David Crossley updated COCOON-1587: ----------------------------------- Bugzilla Id: (was: 36436) Other Info: [Patch available] Description: Inserts an <i18n:text> tag, if the i18nSupport in the selectionList is set to "true". The i18nSupport could be set by adding the attribute i18n-support="true" to the selection-list tag in the forms definition file. ( Example: <fd:selection-list i18n-support="true" src="resources/selection-lists/tourart.xml"/> ) In program code, you can add i18nSupport by using the SelectionList-Constructors with the additional boolean value for the i18n-support or the method setI18nSupport(true). If the i18nSupport ist set, the generation of SAX will insert an <i18n.text>-tag before the text of the label. The next step is using the i18n-Transformer. was: Inserts an <i18n:text> tag, if the i18nSupport in the selectionList is set to "true". The i18nSupport could be set by adding the attribute i18n-support="true" to the selection-list tag in the forms definition file. ( Example: <fd:selection-list i18n-support="true" src="resources/selection-lists/tourart.xml"/> ) In program code, you can add i18nSupport by using the SelectionList-Constructors with the additional boolean value for the i18n-support or the method setI18nSupport(true). If the i18nSupport ist set, the generation of SAX will insert an <i18n.text>-tag before the text of the label. The next step is using the i18n-Transformer. > [PATCH] Simple i18n support for selectionLists > ---------------------------------------------- > > Key: COCOON-1587 > URL: http://issues.apache.org/jira/browse/COCOON-1587 > Project: Cocoon > Type: Bug > Components: Blocks: Forms > Versions: 2.1.8 > Environment: Operating System: other > Platform: Other > Reporter: Rolf Metternich > Assignee: Cocoon Developers Team > Attachments: patch.txt > > Inserts an <i18n:text> tag, if the i18nSupport in the selectionList is set to > "true". > The i18nSupport could be set by adding the attribute i18n-support="true" to > the > selection-list tag in the forms definition file. > ( Example: <fd:selection-list i18n-support="true" > src="resources/selection-lists/tourart.xml"/> ) > In program code, you can add i18nSupport by using the > SelectionList-Constructors > with the additional boolean value for the i18n-support or the method > setI18nSupport(true). > If the i18nSupport ist set, the generation of SAX will insert an > <i18n.text>-tag > before the text of the label. > The next step is using the i18n-Transformer. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira