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

Ulrich Stärk updated TAPESTRY-2457:
-----------------------------------

    Attachment: patch.txt

This patch adds support for localized translators by extending the Translator 
interface. It also introduces a new SymbolConstant 
tapestry.localized-translators which defaults to false to indicate whether 
localized translators should be used or not. The FloatTranslator and 
DoubleTranslator have been updated to parse and display floating point numbers 
in the client's locale (if so desired). FieldValidationSupportImpl has been 
altered to use the old (not localized) translators or if 
tapestry.localized-translators is set to true, to use the localized versions of 
the translators.

> Add localization to translators to allow for localized display/entering of 
> values
> ---------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2457
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2457
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.14
>            Reporter: Ulrich Stärk
>         Attachments: patch.txt
>
>
> Localization support for pages and messages is great in Tapestry but it lacks 
> support for localization of input values because the translators don't have 
> support for it. It would be great if users could just enter numbers etc. in 
> their respective locale, e.g. use ',' instead of '.' to seperate decimal 
> places from the integer part.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to