DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7253>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7253 [PATCH] I18nTransformer, adds support for setting translations to upper/lower case Summary: [PATCH] I18nTransformer, adds support for setting translations to upper/lower case Product: Cocoon 2 Version: Current CVS Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Attached is a patch which allows one to add an attribute to i18n:text that will modify the case of the translated text. Currently upper and lower case are supported. ie: <i18n:text format="upper">key</i18n:text> and <i18n:text format="lower">key</i18n:text> This saves the need to store multiple keys of the same string with different cases. Note, conversion is done using String.toUpperCase() and String.toLowerCase() which doesn't take into account language peculiarities. Conversions should be tested (any ideas about how solve this would be appreciated). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]