[jboss-jira] [JBoss JIRA] (LOGTOOL-122) Add option to always add positional parameters to generated translation files

James Perkins (Jira) issues at jboss.org
Thu Nov 21 13:21:00 EST 2019


     [ https://issues.jboss.org/browse/LOGTOOL-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins closed LOGTOOL-122.
---------------------------------
    Resolution: Out of Date


> Add option to always add positional parameters to generated translation files
> -----------------------------------------------------------------------------
>
>                 Key: LOGTOOL-122
>                 URL: https://issues.jboss.org/browse/LOGTOOL-122
>             Project: Log Tool
>          Issue Type: Enhancement
>            Reporter: James Perkins
>            Priority: Minor
>
> Translated languages may reorder text resulting in parameters requiring to be in a different order. If the translator does not know the positional format, i.e. {{%1$s}}, the message parameters may be inserted in the incorrect order.
> There should be an option to allow parameters to be generated with the positional properties. A message such as {{Parameter %s has an invalid value %s}} should be printed to the properties file as {{Parameter %1$s has an invalid value %2$s}}.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list