Bug 94185 - I18N: EE4 Component's message depends on server locale, not browser preferred language
I18N: EE4 Component's message depends on server locale, not browser preferred...
Status: NEW
Product: obsolete
Classification: Unclassified
Component: visualweb
5.x
PC Windows XP
: P2 (vote)
: 6.x
Assigned To: Winston Prakash
issues@obsolete
: I18N
: 93745 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-03 00:00 UTC by bugbridge
Modified: 2007-05-01 20:57 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-03 00:00:16 UTC
Apparently, VWP is not populating the web.xml properly.  See bug: 6499014 for
more information.  At the very least, this needs to be documented/release noted:

Shinsuke Sugaya wrote:
> Dan Labrecque - Sun Microsystems wrote:
>> According to your note, it sounds like things are working as expected? That
is, after adding the following lines to web.xml. This is actually an i18n
requirement when using themes.
>>
>>   <context-param>
>>       <param-name>com.sun.webui.theme.SUPPORTED_LOCALES</param-name>
>>       <param-value>en,ja</param-value>
>>   </context-param>
>
> The above configuration works correctly.
>
> But, I think that this specification will confuse Lockhart's
> application team.. Moreover, Shortfin does not support it.
> So, Shortfin team or Woodstock team need to fix this issue.
>
> In my opinion, the default behavior should be changed. That is,
> if com.sun.webui.theme.SUPPORTED_LOCALES is *not* specified,
> Woodstock should use the supported locales in faces-config.xml,
> not adding only a default locale. I do not think that application
> team want to have the locale info in both faces-confg.xml and
> web.xml..
>
> Thanks,
>  shinsuke
*** (#2 of 2): 2006-12-04 10:01:22 EST xxx@xxxx

I think making this fix in Woodstock is better based on the discussion. Dongmei,
can you please follow up with Rick on this ?
Thanks
-Jayashri
Comment 1 Lark Fitzgerald 2007-04-26 03:34:29 UTC
EE5 logged internal as: http://monaco.sfbay/detail.jsp?cr=6501096 to be 
migrated external to project woodstock
Comment 2 Winston Prakash 2007-05-01 15:10:54 UTC
The work around is to use

<context-param>
   <param-name>com.sun.webui.theme.SUPPORTED_LOCALES</param-name>
   <param-value>en,ja</param-value>
</context-param>

Expecting a fix from Woodstock team to get these information from
faces-config file.

In woodstock this is an RFE (6501096), so changing this issue also an enhancement.


Comment 3 Winston Prakash 2007-05-01 15:11:35 UTC
The work around is to use

<context-param>
   <param-name>com.sun.webui.theme.SUPPORTED_LOCALES</param-name>
   <param-value>en,ja</param-value>
</context-param>

Expecting a fix from Woodstock team to get these information from
faces-config file.

In woodstock this is an RFE (6501096), so changing this issue also an enhancement.


Comment 4 Pegah Sarram 2007-05-01 20:57:37 UTC
*** Issue 93745 has been marked as a duplicate of this issue. ***


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo