Re: i18n Interceptor cookie

2019-02-20 Thread Lukasz Lenart
śr., 20 lut 2019 o 13:21 Rita Brito napisał(a): > I am defining an i18n interceptor with name="localeStorage">cookie so that a cookie with the user's > selected language is stored. > > Everything is working fine if when I navigate in my domain (eg: > my.domain.com

i18n Interceptor cookie

2019-02-20 Thread Rita Brito
Hi, I am defining an i18n interceptor with name="localeStorage">cookie so that a cookie with the user's selected language is stored. Everything is working fine if when I navigate in my domain (eg: my.domain.com/somepage.html). However, when navigating to a subdomain (eg:

Re: I18N Interceptor Change

2016-08-16 Thread Johannes Geppert
;zo...@sparecreative.com>: > HI Guys, > > > > We have an old project which has been happily working for years. Recently > we updated it to 2.5.x which was surprisingly easy. > > > > One issue we did run into which was quite annoying was the I18N > Interceptor now valida

I18N Interceptor Change

2016-08-16 Thread Zoran Avtarovski
HI Guys, We have an old project which has been happily working for years. Recently we updated it to 2.5.x which was surprisingly easy. One issue we did run into which was quite annoying was the I18N Interceptor now validates locales against the list of default available locales

Re: problem with i18n

2014-12-20 Thread Lukasz Lenart
What theme do you use? (on mobile) 20 gru 2014 08:35 Yaragalla Muralidhar yaragallamur...@gmail.com napisał(a): I am using eclipse. yes it is copied into same package. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
i use simple theme *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 3:16 PM, Lukasz Lenart lukaszlen...@apache.org wrote: What theme do you use? (on mobile) 20 gru 2014 08:35 Yaragalla Muralidhar

Re: problem with i18n

2014-12-20 Thread Chris Pratt
That's why you're not seeing the labels, they are not supported by the simple theme. (*Chris*) On Sat Dec 20 2014 at 1:49:15 AM Yaragalla Muralidhar yaragallamur...@gmail.com wrote: i use simple theme *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: problem with i18n

2014-12-20 Thread Lukasz Lenart
2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com: i use simple theme labels are generated only with one of the Xhtml themes, if use simple theme you must add label tag by yourself. REgards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
ok thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 3:21 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com : i use

problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
Hi I have created an action class and i have created an properties file with the same name as action class. Then i am using the following code s:textfield name=sampleid cssClass=textField label readonly=true key=sample.reg.sampleid/ Even though the resource bundle key is specified the label is

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
Is there something i have to configure in struts.xml file? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 9:27 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi I have created an action class and i

Re: problem with i18n

2014-12-19 Thread Lukasz Lenart
2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com: Hi I have created an action class and i have created an properties file with the same name as action class. Then i am using the following code s:textfield name=sampleid cssClass=textField label readonly=true

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
I am using eclipse. yes it is copied into same package. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 12:46 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar

Re: i18N @s.radio enum

2014-03-02 Thread Noriyuki Okamoto
Hi, Using s:set tag, s:select list can use I18N text. Please refer following. https://stackoverflow.com/questions/5548104/struts-select-tag-localization-implementation/17258640#17258640 I think, s:radio tag is also be able to localize with s:set tag. Regards, Noriyuki Okamoto

i18N @s.radio enum

2014-03-01 Thread adam brin
Does anyone have a working example of a @s.radio list tag that uses localization of the labels? I've been searching the doc and stack overflow but not finding things that are working? e.g. if we have an enum: enum EnumTest { A, B, C; } and a getter on the controller: public ListEnumTest

Defining actions for i18n

2013-07-24 Thread Antonio Sánchez
Hello. I'm defining some actions with no logic, they only result in some JSP. Usually this is defined like this: action name=someSimpleAction class=... result/WEB-INF/jsp/Page.jsp/result /action But l10n is required, so I'm doing this: action

Re: Defining actions for i18n

2013-07-24 Thread Lukasz Lenart
action name=someOtherSimpleActionWithLocalizationRequired result/WEB-INF/jsp/I18nedPage.jsp/result /action This way should be simpler and maybe you can use wildcard matching. You can also define default-class-ref/ or default-action-ref/ Regards -- Łukasz + 48 606 323 122

Re: Defining actions for i18n

2013-07-24 Thread Antonio Sánchez
I have both defined default-class-ref/ and default-action-ref/. I need both because I'm using default-action-ref/ as a welcome action. In more complicated cases I can always define a 'localize' method. Thank you very much. El Miércoles, 24 de julio de 2013 15:10:36 Lukasz Lenart escribió:

Re: Blank Archetype i18n fails

2013-06-22 Thread Lukasz Lenart
2013/6/21 Antonio Sánchez juntandolin...@gmail.com: Also blank application example. My default locale is es_ES . Clicking on English still returns Spanish text. Renaming package.properties to package_en.properties makes it work. I'm not sure if this is the right place to report

Blank Archetype i18n fails

2013-06-21 Thread Antonio Sánchez
Also blank application example. My default locale is es_ES . Clicking on English still returns Spanish text. Renaming package.properties to package_en.properties makes it work. I'm not sure if this is the right place to report documentation, tutorial, examples... issues. Please let me know.

i18n language setting

2011-09-24 Thread Debraj Mallick
hi, i need to set language form action, if i set struts.locale = du_NL in struts.properties then dutch will the default language. how can i set language from action, i have tried using session.put(WW_TRANS_I18N_LOCALE, du_NL); and locale = new Locale(du);

Re: i18n language setting

2011-09-24 Thread Carl Ballantyne
I think you can pass request_locale via the URL. So index.action?request_locale=du_NL. I think this will then keep in in the session until you change it. Check out http://struts.apache.org/2.x/docs/faqs.html - localization section. In particular

Changing portal language in Struts 1 (I18N) working only for one page

2011-08-11 Thread nordi
://struts.1045723.n5.nabble.com/Changing-portal-language-in-Struts-1-I18N-working-only-for-one-page-tp4684829p4684829.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr

Changing portal language in Struts 1 (I18N) working only for one page

2011-08-11 Thread nordi
: http://struts.1045723.n5.nabble.com/Changing-portal-language-in-Struts-1-I18N-working-only-for-one-page-tp4684665p4684665.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr

[TILES 2.1.2] I18n problem

2011-07-19 Thread alexcocia
Hi all, I have an application using Struts2 + Tiles 2.1.2. The application has some i18n features in two ways: First for text content depending on the language, secondly for the pages shown, depending on the language. For the first option, it is solved using struts request_locale For the second

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread mmckenzie
Have you tried tiles 2.2.2? Mitch From: alexcocia alab...@gmail.com To: user@struts.apache.org Date: 07/19/2011 08:14 AM Subject:[TILES 2.1.2] I18n problem Hi all, I have an application using Struts2 + Tiles 2.1.2. The application has some i18n features in two ways: First

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread alexcocia
Hi Mitch, Unfortunately, this would be a last option due to dependencies with other project/components deployed. Nevertheless, I will give it a try on an isolated environment, just to check it. Regards, Alex -- View this message in context: http://struts.1045723.n5.nabble.com/TILES-2-1-2-I18n

struts-menu I18N struts2

2011-07-07 Thread max max
hi strut people :) i have a problem with strutsmenu and I18N with struts2 i read somthing about this problem see: the old comment: Besides specifying the bundle attribute on the menu:useDisplayer tag, is there any other way to translate the text from menu-config.xml with struts2? If I

Re: Struts 2.2.3 i18n properties not reloaded after redeployed

2011-06-20 Thread Steven Yang
i am not sure if there was any bug fix regarding i18n reload. but can you describe how you redeploy your app? do shutoff your server then deploy then start? or do you just deploy without turning off anything? On Mon, Jun 20, 2011 at 1:55 PM, Vincent Lin vincent.lin...@gmail.comwrote: Hi, We

Re: Struts 2.2.3 i18n properties not reloaded after redeployed

2011-06-20 Thread Vincent Lin
PM, Steven Yang kenshin...@gmail.com wrote: i am not sure if there was any bug fix regarding i18n reload. but can you describe how you redeploy your app? do shutoff your server then deploy then start? or do you just deploy without turning off anything? On Mon, Jun 20, 2011 at 1:55 PM, Vincent

Re: Struts 2.2.3 i18n properties not reloaded after redeployed

2011-06-20 Thread Maurizio Cucchiara
20, 2011 at 3:14 PM, Steven Yang kenshin...@gmail.com wrote: i am not sure if there was any bug fix regarding i18n reload. but can you describe how you redeploy your app? do shutoff your server then deploy then start? or do you just deploy without turning off anything? On Mon, Jun 20, 2011

Struts 2.2.3 i18n properties not reloaded after redeployed

2011-06-19 Thread Vincent Lin
Hi, We migrated to Struts 2.2.3 recently. But we found that i18n properties are not reloaded after the web application redeployed. After setting struts.i18n.reload=true, it will be reloaded after redeployed. But page rendering speed is slow. Before 2.2.3, we were using Struts 2.0.11, the i18n

How to i18n post validation error messages?

2011-04-13 Thread alex zaim
Please suggest the best method, if possible. (perhaps from right within validate() method? should i make my own resource parser in this case?)

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 8:38 AM, alex zaim icid...@yahoo.com wrote: Please suggest the best method, if possible. (perhaps from right within validate() method? should i make my own resource parser in this case?) No. Use existing getText(...) methods. Dave

Re: How to i18n post validation error messages?

2011-04-13 Thread alex zaim
No. Use existing getText(...) methods. That will be parsed right before validation. I want to show the fielderror results... in another language.

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
(). getText(...) is I18Nized. Whether you do the validation via XML, validate(), or both, the keys will access your I18N resource files. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Re: How to i18n post validation error messages?

2011-04-13 Thread alex zaim
When you said getText() i thought you meant s:property value=getText('some.key') / It works all good now when i use it from validate(). Thanks a lot!

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 9:52 AM, alex zaim wrote: When you said getText() i thought you meant s:property value=getText('some.key') / It works all good now when i use it from validate(). Thanks a lot! No problem! Dave -

reloading config i18n

2011-01-25 Thread CRANFORD, CHRIS
I have set devMode=true and both reload config and i18n properties to true for my development environment. It doesn't matter whether Tomcat is ran inside of MyEclipse or whether I run it stand alone, while I see the devMode error reports; I don't see the reload functionality working at all. I

Re: reloading config i18n

2011-01-25 Thread stanlick
value=true / Peace, Scott On Tue, Jan 25, 2011 at 12:26 PM, CRANFORD, CHRIS chris.cranf...@setech.com wrote: I have set devMode=true and both reload config and i18n properties to true for my development environment. It doesn't matter whether Tomcat is ran inside of MyEclipse or whether I run

RE: reloading config i18n

2011-01-25 Thread CRANFORD, CHRIS
: stanl...@gmail.com [mailto:stanl...@gmail.com] Sent: Tuesday, January 25, 2011 1:44 PM To: Struts Users Mailing List Subject: Re: reloading config i18n With 2.2.1, shove all this in your struts.xml and if it works, just smile and don't look back: constant name=struts.devMode value=true

Re: reloading config i18n

2011-01-25 Thread stanlick
...@gmail.com] Sent: Tuesday, January 25, 2011 1:44 PM To: Struts Users Mailing List Subject: Re: reloading config i18n With 2.2.1, shove all this in your struts.xml and if it works, just smile and don't look back: constant name=struts.devMode value=true / constant name=struts.i18n.reload

Re: Get i18n text problem

2010-08-09 Thread Michal Ciasnocha
Hi Franz, you can use tag s:property value=getText(title) / for text translation (where title is name of your variable). Best regards, Michal Franz Wong wrote on 9.8.2010 5:14: Hi group, In the jsp page, I have a page scope variable title. This variable stores the key of the resource

Get i18n text problem

2010-08-08 Thread Franz Wong
Hi group, In the jsp page, I have a page scope variable title. This variable stores the key of the resource bundle. I can print the value by %= title %. However, I am not able to use it with s:text/. I have tried s:text name=${title}/ or s:text name=%= title %/. But both of them do not work.

Strange behaviour on i18n

2010-07-10 Thread Franz Wong
Hi, I have an i18n web site with struts 2. I don't know why the i18n text is not loaded properly. I expect 檢索詞不能空白 (Chinese characters), but it turns out 檢索詞不不能空白. But if I make any change on the html (e.g. the order of attributes or remove some elements), the text is loaded without any problem

Re: i18n problem with Struts2 - getting weird

2010-04-07 Thread Marc Logemann
Yeah. But the issue was that i have not defined the needed: %...@page pageEncoding=UTF-8 contentType=text/html; charset=UTF-8 % --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 05.04.2010 um 13:58 schrieb Alex Rodriguez Lopez: Do you have your

i18n problem with Struts2 - getting weird

2010-04-05 Thread Marc Logemann
Hi, imagine the following jsp (saved in UTF-8 encoding): -- snipp --- %@ taglib prefix=s uri=/struts-tags % html body Hauptmenübr/ s:text name=menu.mainmenu/br/ s:property value=foo/br/ /body /html -- END snipp --- Now i have a resource bundle like that:

Re: i18n problem with Struts2 - getting weird

2010-04-05 Thread Alex Rodriguez Lopez
Do you have your struts.custom.i18n.resources property correctly assigned to your bundle(s)? Em 05-04-2010 11:27, Marc Logemann escreveu: Hi, imagine the following jsp (saved in UTF-8 encoding): -- snipp --- %@ taglib prefix=s uri=/struts-tags % html body Hauptmenübr/ s:text

retrieve i18n application messages.

2010-03-24 Thread Stephen Ince
Does anyone know how to programmatically retrieve the i18n messages outside the context of an action class. I know with the action you can call getText. I need similiar functionality. I have access to the http request headers. I assume I need the accept language request header. e.g. String

Re: retrieve i18n application messages.

2010-03-24 Thread stanlick
S2 doesn't do anything special. It leverages the native Java resource bundles and locale. I would advise you to begin by looking at the Locale class. On Wed, Mar 24, 2010 at 4:01 AM, Stephen Ince stephenpi...@gmail.comwrote: Does anyone know how to programmatically retrieve the i18n messages

Re: retrieve i18n application messages.

2010-03-24 Thread Stephen Ince
@struts.apache.org Sent: Wednesday, March 24, 2010 7:12 AM Subject: Re: retrieve i18n application messages. S2 doesn't do anything special. It leverages the native Java resource bundles and locale. I would advise you to begin by looking at the Locale class. On Wed, Mar 24, 2010 at 4:01 AM, Stephen

RE: i18n database backed

2010-02-15 Thread CRANFORD, CHRIS
to my struts.xml configuration allowing this provider to be used when I use s:text/ and getText() methods? Chris -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Monday, February 15, 2010 12:58 AM To: Struts Users Mailing List Subject: Re: i18n database

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 15:15 użytkownik CRANFORD, CHRIS chris.cranf...@setech.com napisał: Lukasz - I have configured the bean in struts.xml as follows: bean  type=com.opensymphony.xwork2.TextProvider  name=seek  class=com.setech.seek.struts2.i18n.TextProviderSupport / Aside from

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS chris.cranf...@setech.com napisał: Yes they are.  In fact, all my actions are based on a custom common action called SeekBaseAction which extends ActionSupport. So, just define TextProvider as mentioned by me and should work! Regards --

RE: i18n database backed

2010-02-15 Thread CRANFORD, CHRIS
k -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Monday, February 15, 2010 8:38 AM To: Struts Users Mailing List Subject: Re: i18n database backed W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS chris.cranf...@setech.com napisał: Yes

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 17:33 użytkownik CRANFORD, CHRIS chris.cranf...@setech.com napisał: 2.1.6 I cannot move to 2.1.8 yet without impact to a few other things sadly :(. I made a small mistake, you have to define your own bean and then define two constants in struts.xml: bean

Re: i18n database backed

2010-02-14 Thread Lukasz Lenart
2010/2/12 CRANFORD, CHRIS chris.cranf...@setech.com: Anyone have any suggested ways to support i18n internationalization backed by a database table rather than property files? You have to write your own TextProvider - take a look on ActionSupport implementation to get more details

Re: i18n database backed

2010-02-13 Thread DustFrog
. -- View this message in context: http://old.nabble.com/i18n-database-backed-tp27569081p27579439.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

i18n database backed

2010-02-12 Thread CRANFORD, CHRIS
Anyone have any suggested ways to support i18n internationalization backed by a database table rather than property files? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: i18n database backed

2010-02-12 Thread Balwinder Kumar
Chris, What sort of benefit database will offer over properties files? Regards, Balwinder Kumar CRANFORD, CHRIS wrote: Anyone have any suggested ways to support i18n internationalization backed by a database table rather than property files

Issues adding i18n Chinese support to existing Struts based code

2010-02-07 Thread Brian Fed
of my jsp file but still no use. Can you please clarify what I am missing here and how to add i18n support for Chinese locale to my existing Struts based code ?

dynamic i18n

2010-02-04 Thread Peter Symoens
. changing the place of the i18n interceptor in the interceptor stack make a difference? Regards, Peter - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: dynamic i18n

2010-02-04 Thread Lukasz Lenart
2010/2/4 Peter Symoens peter.symo...@approach.be: s:property value=%{getText(%{name})} / doesn't seem to do the trick. Did you try s:property value=%{getText(%{name})} / Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: dynamic i18n

2010-02-04 Thread Peter Symoens
Sorry, my message was incorrect. s:property value=%{getText('%{name}')} / prints out the (non-i18nzed) property value. s:property value=%{getText(%{name})} / prints out nothing. On 04/02/2010 16:59, Lukasz Lenart wrote: 2010/2/4 Peter Symoenspeter.symo...@approach.be: s:property

Re: dynamic i18n

2010-02-04 Thread Brian Thompson
What do you get when you try s:property value=%{getText(name)} / ? -Brian On Thu, Feb 4, 2010 at 10:09 AM, Peter Symoens peter.symo...@approach.bewrote: Sorry, my message was incorrect. s:property value=%{getText('%{name}')} / prints out the (non-i18nzed) property value. s:property

Re: dynamic i18n

2010-02-04 Thread Peter Symoens
Works fine. Why didn't I think of that? Thank you! Peter On 04/02/2010 17:14, Brian Thompson wrote: What do you get when you trys:property value=%{getText(name)} / ? -Brian On Thu, Feb 4, 2010 at 10:09 AM, Peter Symoenspeter.symo...@approach.bewrote: Sorry, my message was incorrect.

I18N

2010-01-03 Thread uuk007
Hi, We are developing a educational system for which we need to have the I18N...I have read the articles and tutorials related to that and found that the locale of the user will be retrieved from the HttpServletRequest. (Correct me if i am wrong)But in the education system, user will choose

Re: [S2] i18n not using default bundle

2009-12-11 Thread mailtolouis2020-struts
) From: Saeed Iqbal saee...@gmail.com To: Struts Users Mailing List user@struts.apache.org 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 CN file name in there. On Thu

Re: [S2] i18n not using default bundle

2009-12-11 Thread Saeed Iqbal
] 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, mailtolouis2020-str...@yahoo.com wrote: Thanks. That is what I plan to do if that is nothing to do with struts

Re: [S2] i18n not using default bundle

2009-12-11 Thread Saeed Iqbal
Users Mailing List user@struts.apache.org 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 CN file name in there. On Thu, Dec 10, 2009 at 10:31 PM, mailtolouis2020-str

Re: [S2] i18n not using default bundle

2009-12-11 Thread mailtolouis2020-struts
@struts.apache.org Sent: Fri, December 11, 2009 9: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 saee...@gmail.com wrote: Why dont you just give it the value global-message_zh_CN On Fri, Dec 11, 2009 at 2:44 PM

Re: [S2] i18n not using default bundle

2009-12-11 Thread Haroon Rafique
On Today at 2:47pm, SI=Saeed Iqbal saee...@gmail.com wrote: SI no need to put resources. SI SI On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal saee...@gmail.com 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

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 haroon.rafi...@utoronto.cawrote: On Today at 2:47pm, SI=Saeed Iqbal saee...@gmail.com wrote: SI no need to put resources. SI SI On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal saee...@gmail.com wrote: SI SI Why dont you just give

[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

Re: [S2] i18n not using default bundle

2009-12-10 Thread carl ballantyne
, Carl. Quoting mailtolouis2020-str...@yahoo.com: 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

Re: [S2] i18n not using default bundle

2009-12-10 Thread Saeed Iqbal
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, Carl. Quoting mailtolouis2020-str...@yahoo.com: Hello, I got a doubt on struts 2 i18n. I'm using S2. 2.1.8.1. I got 2

Re: [S2] i18n not using default bundle

2009-12-10 Thread mailtolouis2020-struts
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 carl.ballant...@cast-info.es wrote: Hi LV, When you say you set your browser to Chinese are you simply moving

Re: [S2] i18n not using default bundle

2009-12-10 Thread Saeed Iqbal
LV From: Saeed Iqbal saee...@gmail.com To: Struts Users Mailing List user@struts.apache.org 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

Re: [S2] i18n not using default bundle

2009-12-10 Thread Alex Siman
The trick is simple: create an empty file: global-message_zh_CN.properties This is not Struts 2 problem, but Java ResourceBundle's. You can read more here: http://old.nabble.com/Struts2-%2B--I18N-td24973817.html#a24978732 mailtolouis2020-str...@yahoo.com wrote: Hello, I got a doubt

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 aleksandr.si...@gmail.com To: user@struts.apache.org Sent: Thu, December 10, 2009 4:54:26 PM Subject: Re: [S2] i18n not using default bundle The trick

Re: [S2] i18n not using default bundle

2009-12-10 Thread Saeed Iqbal
From: Alex Siman aleksandr.si...@gmail.com 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 2 problem, but Java

Re: AW: i18n within dojo attribute

2009-10-31 Thread larryreed
Thank you, Samuel. This solves my problem. - Original Message - From: samuel robert samuel.rob...@lht.dlh.de To: user@struts.apache.org, la...@fundavision.com Sent: Friday, October 30, 2009 2:10:59 AM GMT -08:00 US/Canada Pacific Subject: AW: i18n within dojo attribute Not sure

AW: i18n within dojo attribute

2009-10-30 Thread samuel.robert
: larryreed [mailto:larryr...@comcast.net] Gesendet: Donnerstag, 29. Oktober 2009 17:59 An: Struts Users Mailing List Betreff: Re: i18n within dojo attribute Thank you for your help. This was, I believe, a typo in the email, but not in the code. In any case, including the closing single quote

RE: AW: i18n within dojo attribute

2009-10-30 Thread Martin Gainty
sam is correct do you have i18nInterceptor enabled in your stack? interceptors interceptor name=i18n class=com.opensymphony.xwork2.interceptor.I18nInterceptor/ !-- Sample i18n stack -- interceptor-stack name=i18nStack interceptor-ref name=i18n

Re: AW: i18n within dojo attribute

2009-10-30 Thread larryreed
I'm using the default stack, which I believe has that interceptor in it. In any case, the i18n works for all the other tags, so I'm not sure why it would be a problem in this case. - Original Message - From: Martin Gainty mgai...@hotmail.com To: Struts Users Mailing List user

AW: i18n within dojo attribute

2009-10-29 Thread samuel.robert
Users Mailing List; Larry Reed Betreff: Re: i18n within dojo attribute It occurred to me to use an OGNL form to do this, but I am still having a challenge getting it to work. I've tried s:textfield key=fieldName dojoType=dijit.form.ValidationTextBox promptMessage=${getText('fieldPrompt

Re: i18n within dojo attribute

2009-10-29 Thread Zoran Avtarovski
user@struts.apache.org Sent: Friday, October 23, 2009 4:58:42 PM GMT -08:00 US/Canada Pacific Subject: i18n within dojo attribute I have a text field which I would like to 'dojo-ize' by turning it into a ValidationTextBox. One of the parameters, 'promptMessage' is a text message that is put

Re: i18n within dojo attribute

2009-10-29 Thread larryreed
To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, October 29, 2009 2:11:30 AM GMT -08:00 US/Canada Pacific Subject: Re: i18n within dojo attribute You¹re missing the closing inverted comma on fieldPrompt. Z. It occurred to me to use an OGNL form to do this, but I am

Re: i18n within dojo attribute

2009-10-27 Thread larryreed
US/Canada Pacific Subject: i18n within dojo attribute I have a text field which I would like to 'dojo-ize' by turning it into a ValidationTextBox. One of the parameters, 'promptMessage' is a text message that is put up as a help when the focus enters the text box. My problem is that I

i18n within dojo attribute

2009-10-23 Thread larryreed
I have a text field which I would like to 'dojo-ize' by turning it into a ValidationTextBox. One of the parameters, 'promptMessage' is a text message that is put up as a help when the focus enters the text box. My problem is that I would like to internationalize this message. My thought was

Re: [S2] i18n for lists/maps

2009-09-14 Thread Zoran Avtarovski
Exactly. Using the s:select for your example below would be as follows: s:select name=²loanType² list=²#{1:getText(key.value1), 2, getText(key.value2)}²/ Z. Z, I'll clarify with a simple example : The dropdown must be like : select name=loanTypeoption value=1EnglishType1/optionoption

Re: [S2] i18n for lists/maps

2009-09-10 Thread strutstwouser
or convention (read don’t ask) If you app satisfies these two points then the method I mentioned will work fine. If it doesn’t, it’s not that much work to satisfy them. -- View this message in context: http://www.nabble.com/-S2--i18n-for-lists-maps-tp25300822p25385065.html Sent from the Struts

Re: [S2] i18n for lists/maps

2009-09-08 Thread strutstwouser
Sent: Friday, September 4, 2009 12:48:43 PM Subject: [S2] i18n for lists/maps Hi, Normally, we use the resource bundles to store Strings like field labels, error messages etc. But how about things like dropdown display values ? . I need to i18n-ize an app that has a lot

Re: [S2] i18n for lists/maps

2009-09-08 Thread Zoran Avtarovski
...@yahoo.com wrote: - Original Message From: j alex strutstwou...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Friday, September 4, 2009 12:48:43 PM Subject: [S2] i18n for lists/maps Hi, Normally, we use the resource bundles

Re: [S2] i18n for lists/maps

2009-09-07 Thread Zoran Avtarovski
From: j alex strutstwou...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Friday, September 4, 2009 12:48:43 PM Subject: [S2] i18n for lists/maps Hi, Normally, we use the resource bundles to store Strings like field labels, error messages etc

Re: [S2] i18n for lists/maps

2009-09-05 Thread j alex
alex strutstwou...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Friday, September 4, 2009 12:48:43 PM Subject: [S2] i18n for lists/maps Hi, Normally, we use the resource bundles to store Strings like field labels, error messages etc. But how about things like

[S2] i18n for lists/maps

2009-09-04 Thread j alex
Hi, Normally, we use the resource bundles to store Strings like field labels, error messages etc. But how about things like dropdown display values ? . I need to i18n-ize an app that has a lot of such dropdowns and the lists are currently referenced like s:select name=loanType list

Re: [S2] i18n for lists/maps

2009-09-04 Thread Tommy Pham
- Original Message From: j alex strutstwou...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Friday, September 4, 2009 12:48:43 PM Subject: [S2] i18n for lists/maps Hi, Normally, we use the resource bundles to store Strings like field labels, error

Re: Re : Re : Struts2 + I18N

2009-08-17 Thread Greg Lindholm
: Re : Struts2 + I18N Not long ago, someone also got similar problem: http://markmail.org/message/mozukqgrnhfbq7od?q=s2+and+default+locale/language+list:org.apache.struts.users/ From: Julien HENRY henr...@yahoo.fr To: Struts Users Mailing List user

Re : Re : Re : Struts2 + I18N

2009-08-17 Thread Julien HENRY
le : Lundi, 17 Août 2009, 15h25mn 13s Objet : Re: Re : Re : Struts2 + I18N Another thing you can do is create an essentially empty default_en.properties file. When 'en' is requested it will find the default_en.properties file and stop looking. When it goes to retrieving values it will look

  1   2   3   4   5   >