RE: Problem with internationalization/locale

2012-06-26 Thread Martin Gainty
..@yahoo.com > Subject: Problem with internationalization/locale > To: user@struts.apache.org > > Hi, > > I try to follow the Struts2 tutorial and I run with Java1.6 on Tomcat6. I've > had a pair of issues. The recent one is with internationalization using >

Problem with internationalization/locale : solved

2012-06-26 Thread Sam Cyrus
Hi again, I'm really sorry. I have been forgetful, with a little bad discipline, and had not changed my register.jsp file accordingly. Now everything with locale and internationalization works properly. Sorry again. Best regards /// Sam

Problem with internationalization/locale

2012-06-26 Thread Sam Cyrus
Hi, I try to follow the Struts2 tutorial and I run with Java1.6 on Tomcat6. I've had a pair of issues. The recent one is with internationalization using locales. For my Register.java action, I have two properties files Register.properties and Register_es.properties for the default Englis

Re: Struts2 w/freemarker and internationalization

2012-02-29 Thread Tom Hjellming
Thanks Josep - that works. I thought the ${} notation was equivalent to the <@s> form - but I guess not. thanks, Tom On 2/29/12 12:16 PM, Josep García wrote: Try with: <@s.text name="welcome.message"/> Cheers, Josep 2012/2/29 Tom Hjellming I'm trying to internationalize a simple Struts

Re: Struts2 w/freemarker and internationalization

2012-02-29 Thread Josep García
Try with: <@s.text name="welcome.message"/> Cheers, Josep 2012/2/29 Tom Hjellming > I'm trying to internationalize a simple Struts2-based webapp that uses > Freemarker as the view technology. The usage of freemarker templating > pulling values from the Action object is working fine. > > But

Struts2 w/freemarker and internationalization

2012-02-29 Thread Tom Hjellming
I'm trying to internationalize a simple Struts2-based webapp that uses Freemarker as the view technology. The usage of freemarker templating pulling values from the Action object is working fine. But when I try to leverage Struts2's TextProvider capability via getText(), it doesn't work. My

Re: Struts 2 Internationalization Tiles 2

2012-01-13 Thread Hernán
ion); > >setRedirectToNamespace(previousNamespace); > > > >return Constants.SUCCESS; > >} > > > > Now do you know how to get request_locale in javascript... I have some > > jquery plugins that need a locale var to apply

Re: Struts 2 Internationalization Tiles 2

2012-01-13 Thread Jeffrey Black
ESS; >} > > Now do you know how to get request_locale in javascript... I have some > jquery plugins that need a locale var to apply internationalization.. Thank > you... > > On Fri, Jan 13, 2012 at 2:14 PM, Jeffrey Black >wrote: > > > Just for kicks try se

Re: Struts 2 Internationalization Tiles 2

2012-01-13 Thread Hernán
edirectToAction(previousAction); setRedirectToNamespace(previousNamespace); return Constants.SUCCESS; } Now do you know how to get request_locale in javascript... I have some jquery plugins that need a locale var to apply internationalization.. Thank you... On Fri, Jan 13, 2012 at 2:14 PM, Jeffrey

Re: Struts 2 Internationalization Tiles 2

2012-01-13 Thread Jeffrey Black
tion for each locale you > > wish to support? Does that ring a bell to anyone? > > > > I will double-check some documentation when I get a chance. > > > > jb > > > > On Fri, Jan 13, 2012 at 9:06 AM, Hernán wrote: > > > > > Hi there, I'm a

Re: Struts 2 Internationalization Tiles 2

2012-01-13 Thread Hernán
t ring a bell to anyone? > > I will double-check some documentation when I get a chance. > > jb > > On Fri, Jan 13, 2012 at 9:06 AM, Hernán wrote: > > > Hi there, I'm applying internationalization to a WebApp, and so far so > > good, almost everything is work

Re: Struts 2 Internationalization Tiles 2

2012-01-13 Thread Jeffrey Black
I seem to recall needing a different tiles definition for each locale you wish to support? Does that ring a bell to anyone? I will double-check some documentation when I get a chance. jb On Fri, Jan 13, 2012 at 9:06 AM, Hernán wrote: > Hi there, I'm applying internationalization to

Struts 2 Internationalization Tiles 2

2012-01-13 Thread Hernán
Hi there, I'm applying internationalization to a WebApp, and so far so good, almost everything is working as expected. When the user accesses the site, depending on its browser configuration he sees the web site in his or her preferred language, if he or she decides to change the langua

RE: struts 2 internationalization problem

2011-03-14 Thread Jose Luis Martinez Avial
, 2011 2:20 AM To: user@struts.apache.org Subject: Re: struts 2 internationalization problem Tried with a locale but still not working -- View this message in context: http://struts.1045723.n5.nabble.com/struts-2-internationalization-proble m-tp388p3555928.html Sent from the Struts - User

Re: struts 2 internationalization problem

2011-03-13 Thread sumitjain23
Tried with a locale but still not working -- View this message in context: http://struts.1045723.n5.nabble.com/struts-2-internationalization-problem-tp388p3555928.html Sent from the Struts - User mailing list archive at Nabble.com

Re: struts 2 internationalization problem

2011-03-13 Thread jlmagc
You need to put a Locale, not a String. --Mensaje original-- De: sumitjain23 Para: user@struts.apache.org Responder a: Struts Users Mailing List Asunto: RE: struts 2 internationalization problem Enviado: 14 Mar, 2011 02:11 If you look closely , I am doing the exact same thing i.e. setting

RE: struts 2 internationalization problem

2011-03-13 Thread sumitjain23
045723.n5.nabble.com/struts-2-internationalization-problem-tp388p3555923.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comm

RE: struts 2 internationalization problem

2011-03-13 Thread Jose Luis Martinez Avial
US; } sessionAttributes.put(I18nInterceptor.DEFAULT_SESSION_ATTRIBUTE, locale); -Original Message- From: Jose Luis Martinez Avial Sent: Monday, March 14, 2011 12:47 AM To: 'Struts Users Mailing List' Subject: RE: struts 2 internationalization problem I usually do this Locale

RE: struts 2 internationalization problem

2011-03-13 Thread Jose Luis Martinez Avial
Original Message- From: sumitjain23 [mailto:sumitjai...@gmail.com] Sent: Sunday, March 13, 2011 2:39 PM To: user@struts.apache.org Subject: struts 2 internationalization problem I am developing struts 2.2 application. When I pass a request_locale parameter from a web page then it works fine i.e.

struts 2 internationalization problem

2011-03-13 Thread sumitjain23
es not work i.e. the locale does not change Am I missing something. Please help me.. -- View this message in context: http://struts.1045723.n5.nabble.com/struts-2-internationalization-problem-tp388p388.html Sent from the Struts - User mailing list a

Re: Internationalization with REST/Convention plug-ins

2010-12-01 Thread stanlick
ndle = findResourceBundle(bundleName, >> locale); >>if (bundle != null) { >>reloadBundles(); >>try { >>return bundle.getString(aTextName); >>} catch (MissingResourceException e) { >>

Re: Internationalization with REST/Convention plug-ins

2010-12-01 Thread Dave Newton
I got caught out by thinking the packages were created in a different package than I assumed they were, but I don't recall if it was my fault or if there was a configuration parameter I had forgotten to set or what. But just in case it helps, I'll throw it out there. Man, I've forgotten a lot of

Internationalization with REST/Convention plug-ins

2010-12-01 Thread stanlick
I had a guy ask me why his internationalized properties were not accessible in his Struts app that was using both the REST and Convention plug-ins. My first action was to read the docs which did not suggest anything out of the ordinary, so I through a core app together using this configuration and

Re: internationalization via tiles definition files

2010-07-16 Thread Antonio Petrelli
gt; application. > > I've been able to add tiles integration to the blank application (version > 2.1.8.1). I'm trying to add internationalization to tiles via this > instruction set... > >  http://tiles.apache.org/tutorial/advanced/l10n.html > > ... by creating a

internationalization via tiles definition files

2010-07-16 Thread Ryan Beckes
Hello, I'm new to struts 2, so I read the "Starting Struts 2" book by Ian Roughley (very good intro!) and started playing around with the Struts blank application. I've been able to add tiles integration to the blank application (version 2.1.8.1). I'm trying to add inte

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-29 Thread Alex Rodriguez Lopez
llow the change (a jQuery dialog would give the > user feed back) to take place if there might me an issue with system > integrity – for example submitting a form twice. > > Z. > > > > hi, > > I have a quick and basic question. > > Regarding internationalization, whe

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-29 Thread Denis Cabasson
arameter that wouldn’t allow the change (a jQuery dialog would give the > user feed back) to take place if there might me an issue with system > integrity – for example submitting a form twice. > > Z. > > > > hi, > > I have a quick and basic question. > >

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-29 Thread Alex Rodriguez Lopez
he change (a jQuery dialog would give the > user feed back) to take place if there might me an issue with system > integrity – for example submitting a form twice. > > Z. > > > > hi, > > I have a quick and basic question. > >

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-28 Thread Zoran Avtarovski
w the change (a jQuery dialog would give the >> > user feed back) to take place if there might me an issue with system >> > integrity ­ for example submitting a form twice. >> > >> > Z. >>> >> >>> >> hi, >>> >> I have a

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-25 Thread Celinio Fernandes
Thanks.   Could you share that code ? It would be useful and much appreciated. Thanks again.   --- On Wed, 3/24/10, Zoran Avtarovski wrote: From: Zoran Avtarovski Subject: Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ? To: "Struts Users Mailing

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-25 Thread Alex Rodriguez Lopez
hi, I have a quick and basic question. Regarding internationalization, whenever a user clicks on a link with a flag, i want to change the locale (language) of the web application. That works well with the i18n interceptor. However i always redirect the user to the home page (home.jsp) when i do that be

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-24 Thread Zoran Avtarovski
­ for example submitting a form twice. Z. > > hi, > I have a quick and basic question. > Regarding internationalization, whenever a user clicks on a link with a flag, > i want to change the locale (language) > of the web application. > That works well with the i18n intercepto

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-21 Thread Paweł Wielgus
ll the same page again, > with the same parameters. > > Regards, > Ulf > > On Fri, Mar 19, 2010 at 12:33 PM, Celinio Fernandes wrote: > >> hi, >> I have a quick and basic question. >> Regarding internationalization, whenever a user clicks on a link with a >> flag, i want

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-19 Thread Ulf Liedén
e same parameters. Regards, Ulf On Fri, Mar 19, 2010 at 12:33 PM, Celinio Fernandes wrote: > hi, > I have a quick and basic question. > Regarding internationalization, whenever a user clicks on a link with a > flag, i want to change the locale (language) > of the web application. &

[Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-19 Thread Celinio Fernandes
hi, I have a quick and basic question. Regarding internationalization, whenever a user clicks on a link with a flag, i want to change the locale (language) of the web application. That works well with the i18n interceptor. However i always redirect the user to the home page (home.jsp) when i do

Re: DisplayTag and Internationalization Lookups

2010-02-22 Thread Lukasz Lenart
2010/2/22 CRANFORD, CHRIS : > Thoughts? Maybe that? http://www.mail-archive.com/displaytag-de...@lists.sourceforge.net/msg03267.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - T

RE: DisplayTag and Internationalization Lookups

2010-02-22 Thread CRANFORD, CHRIS
Actually it isn't that. We actually manage our internationalization in applicationMessage_en and our build script performs a copy of this file to applicationMessages. This should prevent what you're referring to. Lets say our table column key is 'page.mytable.header.ponumber

Re: DisplayTag and Internationalization Lookups

2010-02-22 Thread Lukasz Lenart
Maybe it's related to that https://issues.apache.org/jira/browse/WW-3219 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

DisplayTag and Internationalization Lookups

2010-02-22 Thread CRANFORD, CHRIS
I am using the DisplayTag library with Struts2. In the displaytag.properties file, I had to specify a property as follows: Locale.provider=com.setech.displaytag.I18nWebworkAdapter This class contains the following method: ublic String getResource(String resourceKey, String defaultValue, Tag tag

Re: struts2 internationalization in html attributes

2009-12-21 Thread Пламен Узунов
Thanks Lukasz! On Mon, Dec 21, 2009 at 4:24 PM, Lukasz Lenart wrote: > 2009/12/21 Пламен Узунов : > > I need to internationalize some attribure in html when using struts 2. > > An example a 'title' or 'alt' of 'img' tag. Or 'keywords', 'description' > > attributes of 'meta' tag. This issue is he

Re: struts2 internationalization in html attributes

2009-12-21 Thread Lukasz Lenart
2009/12/21 Пламен Узунов : > I need to internationalize some attribure in html when using struts 2. > An example a 'title' or 'alt' of 'img' tag. Or 'keywords', 'description' > attributes of 'meta' tag. This issue is helpful for SEO of web project.i Regards -- Lukasz http://www.lenart.org.pl/

struts2 internationalization in html attributes

2009-12-21 Thread Пламен Узунов
Help! I need to internationalize some attribure in html when using struts 2. An example a 'title' or 'alt' of 'img' tag. Or 'keywords', 'description' attributes of 'meta' tag. This issue is helpful for SEO of web project.i Regards, Plamen Uzunov

RE: [Struts 2] Dynamic content of a tooltip for internationalization

2009-10-27 Thread Fernandes Celinio
Thanks, it works of course :) -Message d'origine- De : Greg Lindholm [mailto:greg.lindh...@gmail.com] Envoyé : mardi 27 octobre 2009 14:42 À : Struts Users Mailing List Objet : Re: [Struts 2] Dynamic content of a tooltip for internationalization On Tue, Oct 27, 2009 at 8:

Re: [Struts 2] Dynamic content of a tooltip for internationalization

2009-10-27 Thread Greg Lindholm
On Tue, Oct 27, 2009 at 8:16 AM, Fernandes Celinio < cfernan...@sopragroup.com> wrote: > Hi, > > How do you render the content of a tooltip dynamic ? > I am using several messages_XX.properties files, one for each language. > > In each properties file, I have defined the key blabla.tooltip. > >

[Struts 2] Dynamic content of a tooltip for internationalization

2009-10-27 Thread Fernandes Celinio
Hi, How do you render the content of a tooltip dynamic ? I am using several messages_XX.properties files, one for each language. In each properties file, I have defined the key blabla.tooltip. For instance in messages_en.properties: blabla.tooltip=Pay before the end of the term. In messages_fr.

Re: Internationalization and SEO

2009-08-12 Thread Zoran Avtarovski
Have you seen URLRewrite Filter, it will enable you to set request parameters based on URL. For example you can have www.mydomain.com/en/myPage.htm remap to www.mydomain.com/myPage.htm?locale=en and likewise for the others. It¹s one of the handiest tools for web. Z. > > Hello, > > I have a ques

Internationalization and SEO

2009-08-11 Thread Robin Mannering
Hello, I have a question relating to serving international content that I hope someone can help with. It is kind of leaning towards an SEO question, but it does relate to Struts in terms of how I can use Struts 2 to control page direction because of language selection. In terms of SEO, I a

Re: s2 currency and internationalization

2009-07-23 Thread Bhaarat Sharma
Thanks!! this helps! On Wed, Jul 22, 2009 at 10:08 PM, kaphilmore wrote: > FIXED. If you're trying to sell a product in US dollars and you're selling > internationally, use something similar to this in your resource file. I hope > this helps someone, because it drove me crazy for a day!! > >

Re: s2 currency and internationalization

2009-07-22 Thread kaphilmore
FIXED. If you're trying to sell a product in US dollars and you're selling internationally, use something similar to this in your resource file. I hope this helps someone, because it drove me crazy for a day!! format.money = $ {0,number,#.00} --- In str..

s2 currency and internationalization

2009-07-22 Thread kaphilmore
I'm using S2 for an eCommerce application (with resource files in different languages) and I'd like to display the currency in US only. The problem, when someone using the 'fr' locale comes to the site, the price is displayed as 89,99 instead of 89.99. Is there a way to force it to display as '8

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-03-10 Thread sajidbigler
Hi Kavita, If you use http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22437387.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-03-09 Thread kavita P
Hi Friends, I am also trying out the same example and facing the same problem. I am trying to make japanese locale but not able to do that. I have saved the package_ja.properties file as UTF-8 type. I have tried all the option mention below but all in vain. Can anyone please help. Appriciate

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-03-01 Thread sajidbigler
Hi Dave, Its like when i tried struts2-blank-2.1.6.war example and its working fine.here the logic is not much more complicated.here returns proper i18n even Arabic. this tag wont return proper Arabic i18n .unless we do . i really dint understand how come spanish ,german work but not Arabic.

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-03-01 Thread Dave Newton
sajidbigler wrote: we can make it in Spanish,German and few but few we cant.which we cant is Arabic. is this a bug can i report to devlopment list?can any one help me out? :( Can you describe the exact problem again? Under what circumstances are you unable to get localized Arabic messages? D

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-03-01 Thread sajidbigler
we can make it in Spanish,German and few but few we cant.which we cant is Arabic. is this a bug can i report to devlopment list?can any one help me out? :( -- View this message in context: http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-02-27 Thread sajidbigler
i have changed to Still problem din't resolved. How about these too are not i18n only works fine More over i am able to see following warnings in console Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-02-27 Thread Nuwan Chandrasoma
http://struts.apache.org/2.x/docs/how-do-i-add-i18n-to-a-ui-tag-like-the-textfield-tag.html sajidbigler wrote: Hi, have you tried this. Thanks, Nuwan Hi Nuwan, I tried and i got it as you said to

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-02-27 Thread sajidbigler
Hi, have you tried this. Thanks, Nuwan Hi Nuwan, I tried and i got it as you said to Can you please elaborate what exactly it conveys to browser and what was going wrong ? But still that doest

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-02-26 Thread sajidbigler
Hi Nuwan, Thanks a lot for your quick response. I am doing that by using following site http://www.utf.ru/tables/arabic.html i am using sample example struts2-blank-2.1.6.war HelloWorld.jsp ar Arabic package_ar.properties HelloWorld.message=

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-02-26 Thread sajidbigler
Hi Numan, I am doing that by using following site http://www.utf.ru/tables/arabic.html i am using sample example struts2-blank-2.1.6.war HelloWorld.jsp ar Arabic package_ar.properties HelloWorld.message= ت requiredstring = ${getText(fieldName)}

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-02-26 Thread Nuwan Chandrasoma
Hi, you have to convert the arabic into Unicode and put to the message properties file, Thanks, Nuwan sajidbigler wrote: Hi Friends, I tried struts2-blank-2.1.6.war example and its working fine.but when i tried to make it arabic locale i am not able to make it :( with reference to below li

Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-02-26 Thread sajidbigler
Hi Friends, I tried struts2-blank-2.1.6.war example and its working fine.but when i tried to make it arabic locale i am not able to make it :( with reference to below link i am also facing same problem for Arabic.plz help! http://mail-archives.apache.org/mod_mbox/struts-issues/200902.mbox/%3c40

Re: and internationalization

2009-02-10 Thread Ddlc
Found it. In case someone is interested the i18n keys can be found in the javadoc of org.apache.struts2.components.Date -- View this message in context: http://www.nabble.com/%3Cs%3Adate-nice%3D%22true%22-%3E-and-internationalization-tp21932308p21933441.html Sent from the Struts - User mailing

and internationalization

2009-02-10 Thread Ddlc
-internationalization-tp21932308p21932308.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

Blank Application struts2-blank-2.0.12. /example/HelloWorld.action - is not doing internationalization

2008-10-29 Thread Ambar Méndez
Hi ... I got struts2-blank-2.0.12.war from download of Struts homepage and probed it on apache-tomcat-6.0.16. It only displays in Spanish but when I'm testing this same example on http://struts.apache.org/2.x/docs/tutorials.html in Examples' section, it works fine. I tried to add localization to

Internationalization using Database

2008-09-21 Thread Roopam Verma
Hi I would like to know, whether is it possible to replace package.properties file data into a database or can we read resource messages from database instead of properties file in struts2??? If yes, How??? Thanks & Regards Roopam Verma

Re: [S2] s:form and title internationalization

2008-09-20 Thread Paweł Wielgus
Hi Dave, works like a charm :-) thank You. Adding %{} did the trick. Best greetings, Paweł Wielgus. 2008/9/19 Dave Newton <[EMAIL PROTECTED]>: > --- On Fri, 9/19/08, Paweł Wielgus wrote: >>> The form element doesn't render a title. [...] >> actually it does, i've been using it for a long time. >

Re: [S2] s:form and title internationalization

2008-09-19 Thread Dave Newton
--- On Fri, 9/19/08, Paweł Wielgus wrote: >> The form element doesn't render a title. [...] > actually it does, i've been using it for a long time. Oh; I thought you meant like a form header type thing; my bad. You could also try using a getText() call in the title, possibly needing %{} to force

Re: [S2] s:form and title internationalization

2008-09-19 Thread Paweł Wielgus
Hi Dave, > The form element doesn't render a title. It's an attribute of the form > element because > it inherits an underlying class covering the HTML tags, but doesn't use it > itself. actually it does, i've been using it for a long time. It works on all my browsers (IE, Mozilla, FF, Chrome).

Re: [S2] s:form and title internationalization

2008-09-18 Thread Dave Newton
--- On Thu, 9/18/08, Paweł Wielgus wrote: > [...] is not > working - title is not evaluated. The form element doesn't render a title. It's an attribute of the form element because it inherits an underlying class covering the HTML tags, but doesn't use it itself. There are a number of possible

[S2] s:form and title internationalization

2008-09-18 Thread Paweł Wielgus
Hi all, i would like to add internationalized title element to my form, but is not working - title is not evaluated. Does anyone have some kind of an elegant solution for it? Or maybe i'm mising something here? Best greetings, Paweł Wielgus.

s:div tag and internationalization

2008-07-30 Thread vasileboris
file: ... får målt ... in displayed result: ... f�r m�lt ... (firefox). If the text is loaded without s:div, it is ok. Thank you, Boris. -- View this message in context: http://www.nabble.com/s%3Adiv-tag-and-internationalization-tp18727898p18727898.html Sent from the Struts - User mailing list archi

Struts 2 Internationalization using database

2008-07-01 Thread Pamarthi, Ramakrishna
Hi All, What are the best solutions for implementing the Internationalization using database in struts2 ? If any one have any info , please share with me. Best Regards, RK - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: internationalization problem..

2008-06-25 Thread Dave Newton
D]> > Subject: Re: internationalization problem.. > To: "Struts Users Mailing List" > Date: Wednesday, June 25, 2008, 7:15 AM > Hi, > > please reply, i was kind of stuck because of this > issue,. > > On Wed, Jun 25, 2008 at 9:20 AM, Narayana S > <[EM

Re: internationalization problem..

2008-06-25 Thread Narayana S
Hi, please reply, i was kind of stuck because of this issue,. On Wed, Jun 25, 2008 at 9:20 AM, Narayana S <[EMAIL PROTECTED]> wrote: > Hi, > > i am applying simple theme for my struts 2 page, when the theme is > default it could read values from resource bundle, after i changed the

internationalization problem..

2008-06-24 Thread Narayana S
Hi, i am applying simple theme for my struts 2 page, when the theme is default it could read values from resource bundle, after i changed theme to simple, it couldn't read the values from the resource bundle. --- This is how i am creating the form. am i missing any thing? please help

Simple Theme - Internationalization problem

2008-06-23 Thread Narayana S
Hi, i am applying simple theme for my struts 2 page, when the theme is default it could read values from resource bundle, after i changed theme to simple, it couldn't read the values from the resource bundle. --- This is how i am creating the form. am i missing any thing? please help

Re: Internationalization and EL

2008-06-05 Thread Ralf Fischer
, > > I'm trying to play with internationalization but I have a small problem. > Here is my code : > > > > > >id="am%{index}" key="timetable.morning" list="heures" value="%{am}" /> > >id="p

Internationalization and EL

2008-06-05 Thread Matthieu MARC
Hi everybody, I'm trying to play with internationalization but I have a small problem. Here is my code : My problem is in the label. %{displayName} return monday, tuesday, wednesday and I want to translate the label value. I tried : key="%{d

Re: Internationalization via ActionClass-properties

2008-05-24 Thread Peter Theissen
/propfile.html might help? Dave --- Peter Theissen <[EMAIL PROTECTED]> wrote: Hello, I have a question concerning internationalization via ActionClass-properties: I now have a file InitAction-properites that corresponds to the class InitAction and contains certain strings, which are assig

Re: Internationalization via ActionClass-properties

2008-05-24 Thread Dave Newton
Standard Java i18n. http://java.sun.com/docs/books/tutorial/i18n/resbundle/propfile.html might help? Dave --- Peter Theissen <[EMAIL PROTECTED]> wrote: > Hello, > > I have a question concerning internationalization via > ActionClass-properties: > > I now have a fi

Internationalization via ActionClass-properties

2008-05-24 Thread Peter Theissen
Hello, I have a question concerning internationalization via ActionClass-properties: I now have a file InitAction-properites that corresponds to the class InitAction and contains certain strings, which are assigned to labels of the jsp result page of the InitAction. Loading the labels works

Re: Problem with internationalization in addActionError

2008-04-21 Thread Volker Karlmeier
les are at >> the same position. >> >> >> >> >> Volker Karlmeier wrote: > Hi, > > you should try to find out, what the acutal locale is and if there > is a suitable properties-file. Next, try to find out, if your > properties-file is found in the

Re: Problem with internationalization in addActionError

2008-04-21 Thread stan77
on. (Package etc.) and if it >> is accessible. >> Maybe you have not extended RequestAware in your class. >> >> >> Volker >> >> stan77 schrieb: >>> Hello, >>> >>> I'm new to struts 2. >>> I have the followi

Re: Problem with internationalization in addActionError

2008-04-21 Thread stan77
> Volker Karlmeier wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi, >> >> you should try to find out, what the acutal locale is and if there >> is a suitable properties-file. >> Next, try to find ou

Re: Problem with internationalization in addActionError

2008-04-21 Thread volker
find out, if your properties-file is found in the > right position. (Package etc.) and if it > is accessible. > Maybe you have not extended RequestAware in your class. > > > Volker > > stan77 schrieb: >> Hello, >> >> I'm new to struts

Re: Problem with internationalization in addActionError

2008-04-20 Thread stan77
ed RequestAware in your class. > > > Volker > > stan77 schrieb: >> Hello, >> >> I'm new to struts 2. >> I have the following problem with internationalization in my Action > classes. >> >> there are two properties files package.proper

Re: Problem with internationalization in addActionError

2008-04-20 Thread Volker Karlmeier
have not extended RequestAware in your class. Volker stan77 schrieb: > Hello, > > I'm new to struts 2. > I have the following problem with internationalization in my Action classes. > > there are two properties files package.properties and package_en.properties > wi

Problem with internationalization in addActionError

2008-04-20 Thread stan77
Hello, I'm new to struts 2. I have the following problem with internationalization in my Action classes. there are two properties files package.properties and package_en.properties wich works correctly in most cases. In my Logon action i would like to add an Action error like

Re: Internationalization - identification of client request by request header - accept-language ??

2008-01-02 Thread Laurie Harper
Raghuveer wrote: How the struts framework does identifies the client language and there by uses the Message Resources for Internationalization.. Which version of Struts? request.getHeader("accept-language") is giving the string as below accept-language-pl,en-us;q=0.7,de;q=0.3

Internationalization - identification of client request by request header - accept-language ??

2007-12-29 Thread Raghuveer
How the struts framework does identifies the client language and there by uses the Message Resources for Internationalization.. request.getHeader("accept-language") is giving the string as below accept-language-pl,en-us;q=0.7,de;q=0.3 I need to identify if my request is f

Re: [Struts 2] Internationalization

2007-10-26 Thread Andriy Kharchuk
gt; > > > > It only ever displays in English despite changing the browser settings. > > When I'm testing this I ask what the locale is in the action and it > returns > the correct locale but only ever displays the English version. > > > -- > View this messag

[Struts 2] Internationalization

2007-10-19 Thread ChristopherAngel
English version. -- View this message in context: http://www.nabble.com/-Struts-2--Internationalization-tf4653435.html#a13295304 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Internationalization

2007-05-07 Thread Dave Newton
--- Ruben Hartenstein wrote: > I know that the getText() method is only available if > the jsp is loaded after an action. But before the > login.jsp for example there is no action. > > Do I have to call a dummy action only to make the > getText() method available or are there better > solutions?

Internationalization

2007-05-07 Thread Ruben Hartenstein
Dear Struts2 Community, Project: Struts 2 Affects Versions: 2.0.6 Environment: Glassfish AS Version 40 Reporter: Ruben Hartenstein we got the following problem in our web app: In order to internationalize our web app we put some properties

Re: Internationalization -- Issue with Japanese Characters

2007-02-25 Thread Paul Benedict
Laurie, You're technically right. However, I've seen more and more people (including myself) make their property files straight UTF-8, and specify the encoding type when the stream is created. So if you're willing to do a few more hoops, you can have it in any other encoding you desire: http

Re: Internationalization -- Issue with Japanese Characters

2007-02-25 Thread Laurie Harper
The most obvious problem is this: > 1. Storing the Japanese text as Unicode in property > files Property files must be encoded as ASCII with Unicode escapes for non-ASCII characters. Storing them as UTF-8 is not supported and will not work. Use the 'native2ascii' tool that comes with the JKD

Internationalization -- Issue with Japanese Characters

2007-02-24 Thread jacob skariah
Hi All, I am developing an Internatinalized application based on struts frame work. But while displaying Japanese character, I am getting Junk data. I am getting issue with only multibyte characters (Japanese ..) Other laguages are working fine. I have done the following things 1. St

Re: Wanna Solution on Internationalization!!!!

2007-02-08 Thread Dave Newton
--- manoj sinha <[EMAIL PROTECTED]> wrote: > Sorry its not resolved. Can it be possible by using > some Struts2 Tag. Suggestion and Solutions are > appreciated... I thought I gave you reasonable solution, and it's an easier one than dynamically changing the labels via Ajax, which I don't really w

Re: Wanna Solution on Internationalization!!!!

2007-02-08 Thread manoj sinha
Sorry its not resolved..Can it be possible by using some Struts2 Tag. Suggestion and Solutions are appreciated... Dave Newton <[EMAIL PROTECTED]> wrote: --- manoj sinha wrote: > Oh Yes!! Label should reflect changes as per > Language Selection > > > list="{'English','French','Italian'}"

  1   2   3   >