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:22:16 UTC
[jira] Created: (ADFFACES-268) Add support for formatting locale,
separate from translation locale
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
[jira] Updated: (ADFFACES-268) Add support for formatting locale,
separate from translation locale
Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/ADFFACES-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated ADFFACES-268:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> Add support for formatting locale, separate from translation locale
> -------------------------------------------------------------------
>
> Key: ADFFACES-268
> URL: https://issues.apache.org/jira/browse/ADFFACES-268
> Project: MyFaces ADF-Faces
> Issue Type: New Feature
> Affects Versions: 1.0.0-incubating-core
> Reporter: Adam Winer
> Assigned To: Adam Winer
> Fix For: 1.0.0-incubating-core
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ADFFACES-268) Add support for formatting locale,
separate from translation locale
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ 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