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

Mike Beckerle updated DAFFODIL-2543:
------------------------------------
    Component/s: Back End
                 Diagnostics
                 Front End

> Internationalization support
> ----------------------------
>
>                 Key: DAFFODIL-2543
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2543
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End, Diagnostics, Front End
>            Reporter: Steve Lawrence
>            Priority: Minor
>
> At some point, we may want to consider internationalization support.
> One approach here is to create a custom string interpolater, e.g.
> {code:scala}
> i"This message can be internationalized: ${withArguments}"
> {code}
> We likely want to create a macro for this, so that the raw message becomes 
> the key to look up the internationalized string in the i18n database based on 
> locale, and then the arguments are used to format the value found.
> Note that DAFFODIL-2510 changed all logging to use "s" string interpolation, 
> and DAFFODIL-2542 suggests changing all of our diagnostics to use string 
> interpolation as well. Once that is complete, switching to a new "i" 
> interpolator becomes fairly straight forward.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to