You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/05/11 13:51:17 UTC

[jira] [Resolved] (DELTASPIKE-355) Create Alternative to DefaultMessageInterpolator using java.text.MessageFormat

     [ https://issues.apache.org/jira/browse/DELTASPIKE-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved DELTASPIKE-355.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4-incubating
         Assignee: Mark Struberg

implemented. Just activate the following Alternative in your beans.xml 

<alternative>
  <class>org.apache.deltaspike.core.impl.message.MessageFormatMessageInterpolator</class>
</alternative>
                
> Create Alternative to DefaultMessageInterpolator using java.text.MessageFormat
> ------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-355
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-355
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: I18n-Module
>            Reporter: Stefan Strobl
>            Assignee: Mark Struberg
>             Fix For: 0.4-incubating
>
>
> {{String#format()}} has a couple of disadvantages and limitations (e.g. no choice formating) and therefore MessageFormat might for some people (like me) be a preferrable alternative. Will provide patch or pull request...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira