[jboss-jira] [JBoss JIRA] (LOGTOOL-122) Add option to always add positional parameters to generated translation files
James Perkins (JIRA)
issues at jboss.org
Fri Nov 18 23:12:00 EST 2016
James Perkins created LOGTOOL-122:
-------------------------------------
Summary: 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.2.3#72005)
More information about the jboss-jira
mailing list