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.domai

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 (

Re: I18N Interceptor Change

2016-08-16 Thread Johannes Geppert
uys, > > > > 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 de

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 in this

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
ok thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 3:21 PM, Lukasz Lenart wrote: > 2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar >: > > i use simple theme > > labels are generated only with

Re: problem with i18n

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

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 Yaragalla Muralidhar
i use simple theme *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 3:16 PM, Lukasz Lenart wrote: > What theme do you use? > > (on mobile) > 20 gru 2014 08:35 "Yaragalla Muralidhar" > napisał(a): > > > I am usi

Re: problem with i18n

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

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/ * On Sat, Dec 20, 2014 at 12:46 PM, Lukasz Lenart wrote: > 2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar >: > > Hi I have created

Re: problem with i18n

2014-12-19 Thread Lukasz Lenart
2014-12-20 4:57 GMT+01:00 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 > > key="sample.reg.sampleid"/> > > Even though the resource bundle key is specified the label is anot

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/ * On Sat, Dec 20, 2014 at 9:27 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi I have created an action class an

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 Even though the resource bundle key is specified the label is anot appearing for the text field. is there something i am missing? is some where else also

Re: i18N <@s.radio> enum

2014-03-02 Thread Noriyuki Okamoto
Hi, Using https://stackoverflow.com/questions/5548104/struts-select-tag-localization-implementation/17258640#17258640 I think,

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 List getEnumTestLi

Re: Defining actions for i18n

2013-07-24 Thread Antonio Sánchez
I have both defined and . I need both because I'm using 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ó: > > /WEB-INF/jsp/I18nedPage.jsp > > > This way sho

Re: Defining actions for i18n

2013-07-24 Thread Lukasz Lenart
/WEB-INF/jsp/I18nedPage.jsp This way should be simpler and maybe you can use wildcard matching. You can also define or Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/24 Antonio Sánchez : > Hello. > > I'm defining some actions with no logic, they only result in some

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: /WEB-INF/jsp/Page.jsp But l10n is required, so I'm doing this: /WEB-INF/jsp/I18nedPage.jsp /WEB-INF

Re: Blank Archetype i18n fails

2013-06-21 Thread Lukasz Lenart
2013/6/21 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, > ex

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.

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 http://struts.apache.org/2.x/docs/how-do-we-change-l

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"); ActionContext.getContext().setLoc

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

2011-08-11 Thread nordi
7;ve only been using struts since yesterday:P -- View this message in context: 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. ---

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

2011-08-11 Thread nordi
been using struts since yesterday:P -- View this message in context: http://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.

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread alexcocia
ILES-2-1-2-I18n-problem-tp4612299p4612581.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread mmckenzie
Have you tried tiles 2.2.2? Mitch From: alexcocia 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 for text content

[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

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 Maurizio Cucchiara
Regards, > Vincent > > On Mon, Jun 20, 2011 at 3:14 PM, Steven Yang 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 ju

Re: Struts 2.2.3 i18n properties not reloaded after redeployed

2011-06-20 Thread Vincent Lin
3:14 PM, Steven Yang 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, 2

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 wrote: > Hi, > > We

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

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 value="getText('some.key')" /> > > It works all good now when i use it from validate(). > > Thanks a lot! No problem! Dave - To uns

Re: How to i18n post validation error messages?

2011-04-13 Thread alex zaim
When you said getText() i thought you meant 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
validation in validate(). 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

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
On Wed, Apr 13, 2011 at 8:38 AM, alex zaim 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 ---

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: reloading config & i18n

2011-01-25 Thread stanlick
m [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'

RE: reloading config & i18n

2011-01-25 Thread CRANFORD, CHRIS
age- > From: 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 loo

Re: reloading config & i18n

2011-01-25 Thread stanlick
With 2.2.1, shove all this in your struts.xml and if it works, just smile and don't look back: Peace, Scott On Tue, Jan 25, 2011 at 12:26 PM, CRANFORD, CHRIS wrote: > I have set devMode=true and both reload config and i18n properties to > true for my development environment.

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

Re: Get i18n text problem

2010-08-09 Thread Michal Ciasnocha
Hi Franz, you can use tag 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 bundle. I can print the value by

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 . I have tried or . But both of them do not work. Thanks. Franz

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 t

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 struts.custom

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" %> Hauptmenü -- END s

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" %> Hauptmenü -- END snipp --- Now i have a resource bundle like that: menu.mainmenu=Hauptmen\u00fc Inside its the german u with 2 dots on top. Now i run th

Re: retrieve i18n application messages.

2010-03-24 Thread Stephen Ince
, 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 Ince wrote: Does any

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 wrote: > Does anyone know how to programmatically retrieve the i18n messages outsi

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: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 17:33 użytkownik CRANFORD, CHRIS 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: if you want to also use your implementat

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 napisał: > Yes they are.  In fact, all

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS 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 -- Łukasz http://www.lenar

Re: i18n database backed

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

RE: i18n database backed

2010-02-15 Thread CRANFORD, CHRIS
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 backed 2010/2/12 CRANFORD, CHRIS : > Anyone have any suggested ways to support i18n internationalization > backed by a da

Re: i18n database backed

2010-02-14 Thread Lukasz Lenart
2010/2/12 CRANFORD, CHRIS : > 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. And then configure it as a b

Re: i18n database backed

2010-02-13 Thread DustFrog
language labels. -- 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

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

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

Issues adding i18n Chinese support to existing Struts based code

2010-02-07 Thread Brian Fed
sp, I see garbage character in my browser instead of chinese characters. I tried to even add this line <%@ page contentType="text/html; charset=utf-8" %> to top 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 ?

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 try ? -Brian On Thu, Feb 4, 2010 at 10:09 AM, Peter Symoenswrote: Sorry, my message was incorrect. prints out the (non-i18nzed) property value. prints

Re: dynamic i18n

2010-02-04 Thread Brian Thompson
What do you get when you try ? -Brian On Thu, Feb 4, 2010 at 10:09 AM, Peter Symoens wrote: > Sorry, my message was incorrect. > > prints out the (non-i18nzed) > property value. > > > prints out nothing. > > > > > > > On 04/02/2010 16:59, Lukasz Lenart wrote: > >> 2010/2/4 Peter Symoens: >>

Re: dynamic i18n

2010-02-04 Thread Peter Symoens
Sorry, my message was incorrect. prints out the (non-i18nzed) property value. prints out nothing. On 04/02/2010 16:59, Lukasz Lenart wrote: 2010/2/4 Peter Symoens: doesn't seem to do the trick. Did you try Regards ---

Re: dynamic i18n

2010-02-04 Thread Lukasz Lenart
2010/2/4 Peter Symoens : > doesn't seem to do the trick. Did you try Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

dynamic i18n

2010-02-04 Thread Peter Symoens
Hello, I need to iterate over a list of objects, and the name property of each object needs to be i18nzed. doesn't seem to do the trick. It just prints out the property value. Can someone tell which is the proper way to accomplish this? Could e.g. changing the place of the

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 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
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, > &

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
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&#

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 s

[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 e

Re: AW: i18n within dojo attribute

2009-10-31 Thread larryreed
Thank you, Samuel. This solves my problem. - Original Message - From: "samuel robert" 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 it works for yo

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" To: "Struts Users Mailing List

RE: AW: i18n within dojo attribute

2009-10-30 Thread Martin Gainty
Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Subject: AW: i18n within dojo attribute > Date: Fri, 30 Oct 2009 10:10:59 +0100 > From: samuel.rob...@lht.dlh.de > To: user@struts.apache.org; la...@fundavision.com > > Not sure it work

AW: i18n within dojo attribute

2009-10-30 Thread samuel.robert
/ Executive Board: August Wilhelm Henningsen (Vorsitzender/Chairman), Dr. Peter Jansen, Uwe Mukrasch, Dr. Thomas Stueger -Ursprüngliche Nachricht- Von: larryreed [mailto:larryr...@comcast.net] Gesendet: Donnerstag, 29. Oktober 2009 17:59 An: Struts Users Mailing List Betreff: Re: i18n

Re: i18n within dojo attribute

2009-10-29 Thread larryreed
--- Original Message - From: "Zoran Avtarovski" To: "Struts Users Mailing List" 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

Re: i18n within dojo attribute

2009-10-29 Thread Zoran Avtarovski
m: "larryreed" > To: "user" > 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. > > On

AW: i18n within dojo attribute

2009-10-29 Thread samuel.robert
ktober 2009 04:53 An: Struts 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 This gets me past the first problem, but still doesn't work. I am gett

Re: i18n within dojo attribute

2009-10-27 Thread larryreed
here to take it from there. Any suggestions? -- Larry - Original Message - From: "larryreed" To: "user" 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

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: Z. > Z, > I'll clarify with a simple example : > The dropdown must be like : > > EnglishType1 value="2">EnglishType2 for EN and value="1">SpanishType1SpanishType2 > > So, the values 1 and 2 remain constant, only the text

Re: [S2] i18n for lists/maps

2009-09-10 Thread strutstwouser
e 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 Str

Re: [S2] i18n for lists/maps

2009-09-08 Thread Zoran Avtarovski
gt;> >> >>> >> >>> >> Yeah, i dont want to change to DB backed bundles. My question is if the >>> >> s:select tag can take a list from a resourcebundle directly and use it . >>> >> If >>> >> so, how shou

Re: [S2] i18n for lists/maps

2009-09-07 Thread strutstwouser
, i dont want to change to DB backed bundles. My question is if the >> s:select tag can take a list from a resourcebundle directly and use it . >> If >> so, how should the list be specified ? >> >> On Sat, Sep 5, 2009 at 3:59 AM, Tommy Pham wrote: >> &

Re: [S2] i18n for lists/maps

2009-09-07 Thread Zoran Avtarovski
;> > - Original Message >>> > > From: j alex >>> > > To: Struts Users Mailing List >>> > > Sent: Friday, September 4, 2009 12:48:43 PM >>> > > Subject: [S2] i18n for lists/maps >>> > > >>> > &g

Re: [S2] i18n for lists/maps

2009-09-05 Thread j alex
x > > To: Struts Users Mailing List > > 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 abou

Re: [S2] i18n for lists/maps

2009-09-04 Thread Tommy Pham
- Original Message > From: j alex > To: Struts Users Mailing List > 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

[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 where dropdownmap is loaded into

Re: Re : Re : Re : Re : Struts2 + I18N

2009-08-17 Thread Zoran Avtarovski
gt; Zoran Avtarovski wrote: >> > For what it¹s worth, the I18n and the execandwait areas are the two areas I >> > find that S2 falls down the most. > > Do you have any specific suggestions for how ex

Re : Re : Re : Struts2 + I18N

2009-08-17 Thread Julien HENRY
: 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 in the default_en.proper

  1   2   3   4   5   6   >