This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 93745

Summary: I18N - calendar error msgs show in other language even if not set in faces-config
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: _ edwingo <edwingo>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: kaa, kfrank, sunlit
Priority: P3 Keywords: I18N
Version: 5.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2007-01-31 23:15:19 UTC
Original status: 3-Accepted; Suggested Status: NEW

Original Target Release: shortfin_dev; Suggested Target Milestone : 5.5


Original submitter: kfrank

Description:
from customer forum posting:

http://forum.sun.com/jive/thread.jspa?messageID=361197
see reply 15 about

With this config
> <locale-config>
> <default-locale>en</default-locale>
> <supported-locale>de</supported-locale>
> <supported-locale>fr</supported-locale>
> <supported-locale>es</supported-locale>
> /locale-config>
> calendar component months and error messages are in
> Fench but with this config
> <locale-config>
> <default-locale>en</default-locale>
> <supported-locale>de</supported-locale>
> <supported-locale>es</supported-locale>
> </locale-config>
> lendar component months are in English, error
> messages are in English but error messages for
> calendar component are still in french.


> To understand what I mean go to
> http://www.rachattrimestresretraite.com and push the
> "Calculer" button. You should see 2 error messages
> in french.
> n the test site with the EDI, the message
> "S??lectionner une date apr??s le 02/09/2006" is still
> in french. the other message is correct (in
> English).


--> perhaps the error msgs are using some other view of the locale,
and not the faces-config defined ? (that is, user is in fr locale when
running creator)

Evaluation:
Priority is OK
Comment 1 Pegah Sarram 2007-05-01 20:57:45 UTC
Looks like the component messages depend on the server locale, not the browser's
preferred language. There is an RFE filed on this issue in Woodstock (see Cr
#6501096). Woodstock also has a similar bug to this one, CR # 6499014. 

Since this issue need to be fixed across the board for all the components, I
close this bug as a dup of 94185 which covers all components.

*** This issue has been marked as a duplicate of 94185 ***