[ https://issues.apache.org/jira/browse/CONNECTORS-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182924#comment-13182924 ]
Hitoshi Ozawa commented on CONNECTORS-370: ------------------------------------------ Support FormatType and FormatStyle? Would be good to have date format localized as well. formatMessage = MessageFormat.format("At {1,time} on {1,date}, there where {0,number,integer} errors.", arguments); > Ability to pass parameters to I18N messages > ------------------------------------------- > > Key: CONNECTORS-370 > URL: https://issues.apache.org/jira/browse/CONNECTORS-370 > Project: ManifoldCF > Issue Type: Improvement > Components: Framework crawler agent > Affects Versions: ManifoldCF 0.5 > Reporter: Hitoshi Ozawa > Assignee: Karl Wright > Priority: Minor > Labels: I18N > Fix For: ManifoldCF 0.5 > > > Current I18N scheme only allows one sequential set of words to be extracted > out to properties file. > Some languages such as Japanese have different grammerical syntax than > English may require parameters to be passed in different order. > Would like to have ability to pass parameters to messages in properties file: > e.g. > message1={$1} with match parameters {$2} and {$3} resulted in {$4} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira