You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2006/10/28 02:28:17 UTC
[jira] Resolved: (ADFFACES-268) Add support for formatting locale,
separate from translation locale
[ http://issues.apache.org/jira/browse/ADFFACES-268?page=all ]
Adam Winer resolved ADFFACES-268.
---------------------------------
Resolution: Fixed
We now have RequestContext.getFormattingLocale(), and a <formatting-locale> element in trinidad-config.xml that can be used to set this (optionally with an EL expression).
LocaleContext now has both getFormattingLocale() and getTranslationLocale() methods (as well as a deprecated getLocale() method, pointing at getFormattingLocale() for temporary backwards compatibility).
DateTimeConverter and NumberConverter both follow getFormattingLocale(), if set (and if their locale is not explicitly set)
> Add support for formatting locale, separate from translation locale
> -------------------------------------------------------------------
>
> Key: ADFFACES-268
> URL: http://issues.apache.org/jira/browse/ADFFACES-268
> Project: MyFaces ADF-Faces
> Issue Type: New Feature
> Reporter: Adam Winer
> Assigned To: Adam Winer
>
> In a number of cases, it is very valuable to have formatting - esp. for dates and numbers - to default to a different locale than that of the translation. For example, one might only have US English translations, but want British and German users to see dates formatted appropriately for their locale.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira