Re: [S2] i18n not using default bundle

2009-12-11 Thread Saeed Iqbal
Sorry Sir. On Fri, Dec 11, 2009 at 5:47 PM, Haroon Rafique wrote: > On Today at 2:47pm, SI=>Saeed Iqbal wrote: > > SI> no need to put resources. > SI> > SI> On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal > wrote: > SI> > SI> > Why dont you just give it the value global-message_zh_CN > SI> > > > S

Re: [S2] i18n not using default bundle

2009-12-11 Thread Haroon Rafique
On Today at 2:47pm, SI=>Saeed Iqbal wrote: SI> no need to put resources. SI> SI> On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal wrote: SI> SI> > Why dont you just give it the value global-message_zh_CN SI> > Saeed, Slow down a little bit. The original poster got his answer already. An empty g

Re: [S2] i18n not using default bundle

2009-12-11 Thread mailtolouis2020-struts
:47:15 AM Subject: Re: [S2] i18n not using default bundle no need to put resources. On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal wrote: > Why dont you just give it the value global-message_zh_CN > > > On Fri, Dec 11, 2009 at 2:44 PM, wrote: > >> yes, I did have >>

Re: [S2] i18n not using default bundle

2009-12-11 Thread Saeed Iqbal
; From: Saeed Iqbal >> To: Struts Users Mailing List >> Sent: Fri, December 11, 2009 5:41:44 AM >> Subject: Re: [S2] i18n not using default bundle >> >> why dont you just use this >> >> struts.custom.i18n.resources=package >> >> and put your

Re: [S2] i18n not using default bundle

2009-12-11 Thread Saeed Iqbal
global-message_en.properties and > global-message_zh_CN.properties (an empty file) > > > > > > From: Saeed Iqbal > To: Struts Users Mailing List > Sent: Fri, December 11, 2009 5:41:44 AM > Subject: Re: [S2] i18n not using default bundle

Re: [S2] i18n not using default bundle

2009-12-11 Thread mailtolouis2020-struts
: Fri, December 11, 2009 5:41:44 AM Subject: Re: [S2] i18n not using default bundle why dont you just use this struts.custom.i18n.resources=package and put your CN file name in there. On Thu, Dec 10, 2009 at 10:31 PM, wrote: > Thanks. > > That is what I plan to do if that is nothing to

Re: [S2] i18n not using default bundle

2009-12-10 Thread Saeed Iqbal
_ > From: Alex Siman > To: user@struts.apache.org > Sent: Thu, December 10, 2009 4:54:26 PM > Subject: Re: [S2] i18n not using default bundle > > > The trick is simple: > create an empty file: > global-message_zh_CN.properties > > This is not Struts

Re: [S2] i18n not using default bundle

2009-12-10 Thread mailtolouis2020-struts
Thanks. That is what I plan to do if that is nothing to do with struts. Regards LV From: Alex Siman To: user@struts.apache.org Sent: Thu, December 10, 2009 4:54:26 PM Subject: Re: [S2] i18n not using default bundle The trick is simple: create an empty file

Re: [S2] i18n not using default bundle

2009-12-10 Thread Alex Siman
> for global-message.properties file, that is expected. > > > So could someone tell me is this a bug, or that's the way the design is or > some setting I need to do? > > > > > > Regards > LV > -- View this message in context: http://old.nabble.com/-

Re: [S2] i18n not using default bundle

2009-12-10 Thread Saeed Iqbal
bal > To: Struts Users Mailing List > Sent: Thu, December 10, 2009 2:01:43 PM > Subject: Re: [S2] i18n not using default bundle > > Set the constant variable in struts.xml or struts.properties > variable for i8nl > > On Thursday, December 10, 2009, carl ballantyne > wrote:

Re: [S2] i18n not using default bundle

2009-12-10 Thread mailtolouis2020-struts
From: Saeed Iqbal To: Struts Users Mailing List Sent: Thu, December 10, 2009 2:01:43 PM Subject: Re: [S2] i18n not using default bundle Set the constant variable in struts.xml or struts.properties variable for i8nl On Thursday, December 10, 2009, carl ballantyne wrote: >

Re: [S2] i18n not using default bundle

2009-12-10 Thread Saeed Iqbal
Set the constant variable in struts.xml or struts.properties variable for i8nl On Thursday, December 10, 2009, carl ballantyne wrote: > Hi LV, > > When you say you set your browser to Chinese are you simply moving Chinese up > the list of prefered languages or are you removing all english from p

Re: [S2] i18n not using default bundle

2009-12-10 Thread carl ballantyne
Hi LV, When you say you set your browser to Chinese are you simply moving Chinese up the list of prefered languages or are you removing all english from prefered languages. Because if it is the former then I think it would still look for an *_en.properties file over the default. Cheers, C

[S2] i18n not using default bundle

2009-12-10 Thread mailtolouis2020-struts
Hello, I got a doubt on struts 2 i18n. I'm using S2. 2.1.8.1. I got 2 properties in my application: global-message.properties(store Chinese Language) global-message_en.properties (store English Language) When I run my application, and set my browser language to Chinese (zh-CN), I expect whe