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/somepage.html). > > However, whe

Re: I18N Interceptor Change

2016-08-16 Thread Johannes Geppert
HI Zoran, can you please register an Issue for this request? https://issues.apache.org/jira/browse/WW Thank you Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2016-08-16 12:06 GMT+02:00 Zoran Avtarovski : > HI Guys,

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,

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

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

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 bean in s

Re: i18n database backed

2010-02-13 Thread DustFrog
I can see how it can be beneficial in these ways: 1) The application does not have to be redeployed if changing existing labels. 2) Label descriptions can be modified in real time. 3) If there are multiple applications and common labels, they can be shared among the other applications.

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? ---

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
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 still having a > challenge getting it to work. > > I've tried > > promptMessage="${getText('fieldPrompt)}" /> > > This gets me past the first problem, but still doesn't

Re: i18n within dojo attribute

2009-10-27 Thread larryreed
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 getting message that getText must have a prefix in the default namespace. I'm not sure where to take it from

RE: I18n blew up

2009-05-19 Thread Jon Pearson
encounter this issue in the future. > -Original Message- > From: Jon Pearson > Sent: Tuesday, May 19, 2009 5:04 PM > To: Struts Users Mailing List > Subject: RE: I18n blew up > > Thanks, but the problem is definitely Eclipse. It was working > last week, and now it isn&

RE: I18n blew up

2009-05-19 Thread Jon Pearson
one of the other files (including other .xml files which struts.xml references). > -Original Message- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: Tuesday, May 19, 2009 5:00 PM > To: Struts Users Mailing List > Subject: RE: I18n blew up > > > typica

RE: I18n blew up

2009-05-19 Thread Martin Gainty
e ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fo

RE: I18n blew up

2009-05-19 Thread Jon Pearson
o get Eclipse to behave properly again? > -Original Message- > From: Jon Pearson > Sent: Tuesday, May 19, 2009 4:04 PM > To: Struts Users Mailing List > Subject: RE: I18n blew up > > Upon further examination, it looks like 'struts.properties' > i

RE: I18n blew up

2009-05-19 Thread Jon Pearson
Upon further examination, it looks like 'struts.properties' is not being loaded -- When I cause an exception, I don't see the development-mode data that I would expect for having this line in that file: struts.devMode = true Still very confused. > -Original Message- > From: Jon Pearson

Re: I18N on labels of form

2009-01-23 Thread Michael Obster
Thank you! /Michael Lukasz Lenart schrieb: 2009/1/23 Michael Obster : Writing " /> doesn't work. Is there a way to implement correct I18N on form labels? Use key attribute instead or you can use OGNL expression Regards -

Re: I18N on labels of form

2009-01-23 Thread Lukasz Lenart
2009/1/23 Michael Obster : > Writing " /> doesn't > work. Is there a way to implement correct I18N on form labels? Use key attribute instead or you can use OGNL expression Regards -- Lukasz http://www.lenart.org.pl/ - To un

Re: I18n problem

2008-09-28 Thread Dave Newton
--- On Sun, 9/28/08, [EMAIL PROTECTED] wrote: > [...] for maintenance reasons, i prefer to have one copy > or the doc for each locale i must provide, and to switch > in function of the current locale. > > There is some features of s2 i can use? Depending on how you're delivering the document the

Re: I18N issue in form tags

2008-08-19 Thread Dave Newton
--- On Tue, 8/19/08, matthieu martin wrote: > It works perfectly, thank you very much ! > > 2008/8/19 Lukasz Lenart > > > label=" > > name='back.comment.search.author' > />" name="author"/> For completeness, the reason this doesn't work is because you can't nest custom tags like that; that woul

Re: I18N issue in form tags

2008-08-19 Thread matthieu martin
It works perfectly, thank you very much ! 2008/8/19 Lukasz Lenart <[EMAIL PROTECTED]> > > > > Use instead > > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additio

Re: I18N issue in form tags

2008-08-19 Thread Lukasz Lenart
> Use instead Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: i18n Struts Jco Code in Windows English and Polish System

2008-05-23 Thread Laurie Harper
Raghuveer wrote: I am working on Struts ,SAP-JCO . This is i18n application running on Tomcat. I have designed my application in UTF8 charset. When Saving the polish characters from application they are saved into SAP Database properly. Before Saving i am doing following String modifications.

Re: i18n Struts Jco Code in Windows English and Polish System

2008-05-23 Thread Roger Varley
On Friday 23 May 2008 13:51:08 Raghuveer wrote: > I am working on Struts ,SAP-JCO . > > This is i18n application running on Tomcat. > I have designed my application in UTF8 charset. > > When Saving the polish characters from application they are saved into SAP > Database properly. > Before Saving i

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-13 Thread Jeromy Evans
Zoran Avtarovski wrote: That¹s great news Jeromy. You don¹t know how much this will help us. As an aside, is there a timeline for the appearance of an official 2.1 beta build? Z. Hi Zoran. I'm not really sure. We tried to push forward and hit a small obstacle.. If nothing progresses I'll

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-13 Thread Zoran Avtarovski
That¹s great news Jeromy. You don¹t know how much this will help us. As an aside, is there a timeline for the appearance of an official 2.1 beta build? Z. > > mraible wrote: >> > >> > Yes, that sound about right. My action is a POJO that only extends >> > ModelDriven. >> > > WW-2592 Struts2.1

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-13 Thread Jeromy Evans
mraible wrote: Yes, that sound about right. My action is a POJO that only extends ModelDriven. WW-2592 Struts2.1.1 now provides useful developer feedback for missing text resources: - when a TextProvider was not found, - when a message was not found, - when the default value was used as

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-11 Thread mraible
Jeromy Evans - Blue Sky Minds wrote: > > mraible wrote: >> I'm using 2.1.1-SNAPSHOT of the sitemesh and rest plugins. >> FreeMarker/SiteMesh is working fine. However, I'm unable to use i18n tags >> in >> my decorator. In src/main/resources/com/company/app/package.properties, I >> have: >> >> we

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-11 Thread Jeromy Evans
mraible wrote: I'm using 2.1.1-SNAPSHOT of the sitemesh and rest plugins. FreeMarker/SiteMesh is working fine. However, I'm unable to use i18n tags in my decorator. In src/main/resources/com/company/app/package.properties, I have: webapp.name=Foo webapp.tagline=Bar In my decorators/default.ftl,

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-10 Thread Jeromy Evans
mraible wrote: I tried [EMAIL PROTECTED] value="text('key')"/] and that doesn't seem to work either. I don't have a struts.xml or struts.properties in my project. I tried putting the i18n bundle in all packages using it at the Action level (ActionName.properties), but that didn't work either. Cre

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-09 Thread Jeromy Evans
mraible wrote: I tried [EMAIL PROTECTED] value="text('key')"/] I've already found that in 2.0.x this OGNL expression executed getText(String) but in 2.1.x it only matches the method "text(String)". I'm not sure when that changed in the OGNL implementation, but the new form seems correct as it's

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-09 Thread mraible
I tried [EMAIL PROTECTED] value="text('key')"/] and that doesn't seem to work either. I don't have a struts.xml or struts.properties in my project. I tried putting the i18n bundle in all packages using it at the Action level (ActionName.properties), but that didn't work either. Creating a src/main

Re: i18n Tags in FreeMarker Decorator for SiteMesh

2008-04-09 Thread Jeromy Evans
Hi Matt, is it only the @s.text tag that isn't working? eg. is @s.property working? I've suspected there's a problem with the text tag and i18n tag not finding some resource bundles in the S2.1.1 branch but haven't had a chance to investigate. There's several related issues in JIRA and I rec

Re: i18N jsp application on linux and windows

2008-02-19 Thread Laurie Harper
ds, Raghu _ From: Laurie Harper [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 19, 2008 4:24 AM To: [EMAIL PROTECTED] Subject: Re: i18N jsp application on linux and windows Uh, yeah, I got that; that's why I've replied to you twice, on the list; see also:

RE: i18N jsp application on linux and windows

2008-02-18 Thread Raghuveer
, February 19, 2008 4:24 AM To: [EMAIL PROTECTED] Subject: Re: i18N jsp application on linux and windows Uh, yeah, I got that; that's why I've replied to you twice, on the list; see also: http://www.mail-archive.com/user@struts.apache.org/msg72782.html Please follow up on-l

Re: i18N jsp application on linux and windows

2008-02-18 Thread Laurie Harper
Did you see my previous reply? http://www.nabble.com/i18N--jsp-application-on-linux-and-windows-tp15451735p15467087.html And for the record, your convertTo... method probably isn't doing the right thing. If response.getCharacterEncoding() returns anything other than ISO-8859-2, your code will

Re: i18N jsp application on linux and windows

2008-02-18 Thread Raghuveer
I need an help related to i18n (internationalization),… http://www.mail-archive.com/user@struts.apache.org/msg72581.html I am developing an application an struts application to be used in poland for English,polish language on tomcat. There is scenario to extract SAP messages and show to

Re: i18N jsp application on linux and windows

2008-02-13 Thread Laurie Harper
Raghuveer wrote: This is regarding the damage of polish messages from struts application deployed on Tomcat on Linux and Windows XP . I get polish messages from SAP that to be displayed in JSP page. I have set ISO8859_2 in JSP page for charset. <%@ page contentType="text/html;charset=ISO8859_2

Re: i18N jsp application on linux and windows

2008-02-13 Thread Nuwan Chandrasoma
Hi, Why dont you try putting UTF-8, i think this character set is not in Linux may be. Thanks, Nuwan. Raghuveer wrote: This is regarding the damage of polish messages from struts application deployed on Tomcat on Linux and Windows XP . I get polish messages from SAP that to be displ

Re: i18n

2008-01-24 Thread Yayo
hi, I've googled a bit and found thiz: session.setAttribute("org.apache.struts.action.LOCALE", *new* Locale("en")); http://forum.java.sun.com/thread.jspa?threadID=573861&messageID=2854271 http://www.jguru.com/faq/view.jsp?EID=1057614 ^g^ 2008/1/24 volkan tokmak <[EMAIL PROTECTED]>: > hi al

Re: I18n Struts problem

2007-12-28 Thread Paul Benedict
You probably are not using UTF-8 encoding on your pages. This can be configured using the JSP page directive. On Dec 11, 2007 7:57 AM, Laurie Harper <[EMAIL PROTECTED]> wrote: > Chris Pat wrote: > > Hello > > In my app I write the labels with > and I have an ApplicationProperties.properties, > A

Re: i18n - button names

2007-12-27 Thread Laurie Harper
Raghuveer wrote: Is it possible to get the Localized button names for Struts Internationalization (i18n)..? Sure. What version of Struts? Here are some likely starting points: Struts2: http://struts.apache.org/2.x/docs/localization.html Struts1: http://struts.apache.org/1.3.8/userGuide/buil

Re: i18n and variable tiles definitions

2007-12-20 Thread Alberto A. Flores
as an object in the model. From: [EMAIL PROTECTED] To: user@struts.apache.org Subject: RE: i18n and variable tiles definitions Date: Thu, 20 Dec 2007 13:47:33 -0800 btw, I've also tried this slight variation: tiles.xml name="titleKey" value="record.d

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
model. > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: i18n and variable tiles definitions > Date: Thu, 20 Dec 2007 13:47:33 -0800 > > > btw, I've also tried this slight variation: > > tiles.xml > name="titleKey

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
"Record Detail: ${recordId}". Also giving me the problem that it is not evaluating the expression. > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: i18n and variable tiles definitions > Date: Thu, 20 Dec 2007 13:41:13 -0800 > > > T

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
out success :-( How can I get the title to show the value of the expression i set in my tiles definition? > Date: Thu, 20 Dec 2007 15:01:20 -0500 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: i18n and variable tiles definitions > > you can do the same thin

Re: i18n and variable tiles definitions

2007-12-20 Thread Alberto A. Flores
Date: Thu, 20 Dec 2007 13:29:32 -0500 From: [EMAIL PROTECTED] To: user@struts.apache.org Subject: Re: i18n and variable tiles definitions May I suggest to instead of using the "title" value in the tiles, use the keys (e.g. "titleKey"), then fetched it using whatev

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
is if thats bad form. > Date: Thu, 20 Dec 2007 13:29:32 -0500 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: i18n and variable tiles definitions > > May I suggest to instead of using the "title" value in the tiles, use > the keys (e.g. "t

Re: i18n and variable tiles definitions

2007-12-20 Thread Antonio Petrelli
2007/12/20, Alberto A. Flores <[EMAIL PROTECTED]>: > Just a last note: you can use: And your "titleKey" attribute value will be imported as a page-scoped "titleKey" bean. Ciao Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: i18n and variable tiles definitions

2007-12-20 Thread Alberto A. Flores
May I suggest to instead of using the "title" value in the tiles, use the keys (e.g. "titleKey"), then fetched it using whatever approach you want to: Example: resource_en.properties application.title=Hello World Application tiles.xml jsp page (of course this uses unnecessary co

Re: I18n Struts problem

2007-12-11 Thread Laurie Harper
Chris Pat wrote: Hello In my app I write the labels with and I have an ApplicationProperties.properties, ApplicationProperties_el.properties with the modified \uXXXx encoding of the labels in language. I then used this for local switching and I still get the . Am I missing something? t

Re: I18N problem

2007-12-06 Thread Angel Gruev
As in most cases, the problem was so stupid ... and I lost about a day in testing :) in struts.properties I have added struts.custom.i18n.resources=ApplicationResources.properties but should be: struts.custom.i18n.resources=ApplicationResources (without the properties extention) Arg!

Re: I18N problem

2007-12-06 Thread Angel Gruev
I thing that ActionSupport.getText(..) does not check the global property file for some reason. It only check the class hierarchy of the action. Using does not help either. Any other ideas ? I'm about to write my own method in the base action class that does the i18n and check the global resource,

Re: I18N problem

2007-12-05 Thread Ian Roughley
You should probably try using the "key" rather than the "label" attribute, I'm not even sure whether it will accept OGNL: -- Ian Roughley From Down & Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Angel Gru

Re: I18N problem

2007-12-05 Thread Angel Gruev
Yes I actually breakpoint the getText method in the ActionSupport. It is called. 2007/12/5, Dave Newton <[EMAIL PROTECTED]>: > > Does the action extend ActionSupport? > > d. > > --- Angel Gruev <[EMAIL PROTECTED]> wrote: > > > Hello > > > > I have read the guide for internationalization but still

Re: I18N problem

2007-12-05 Thread Dave Newton
Does the action extend ActionSupport? d. --- Angel Gruev <[EMAIL PROTECTED]> wrote: > Hello > > I have read the guide for internationalization but still I cannot get it > running. > 1. I have a property file with internationalization data called " > ApplicationResources.properties" (used for th

Re: i18n in struts2

2007-09-10 Thread rock4u
Hi Using i18n is a very simple in struts. Lets make a sample application to say hello to the Rock. Steps to do i18n:- 1. Create a test application. 2. index.jsp would be like this:- <[EMAIL PROTECTED] language="java"%> <[EMAIL PROTECTED] uri="/WEB-INF/struts-html.tld" prefix="html"%> <[EMAIL

Re: i18n for Enum values in s:select

2007-08-28 Thread David Artiga
Try this: and in you resources file: myColor.WHITE=Blanc myColor.RED=Rouge myColor.BLACK=Noir sarat.pediredla wrote: > > I have a s:select form element in my JSP that gets a list of enums to > display in a drop down box. > > The following is my enum > > public enum Colour { >WHITE, >

Re: I18n

2007-03-07 Thread Dave Newton
--- Christopher Schultz wrote: > Juan Espinosa wrote: > > Hi im having problems with localization of a jsp > page, i call the jsp > > directly, not through an action. > > > > Im using this tag the localize a text > name="%{getText('customer.security.login.title')}" > /> > > I'm largely ignorant

Re: I18n

2007-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Juan, Juan Espinosa wrote: > Hi im having problems with localization of a jsp page, i call the jsp > directly, not through an action. > > Im using this tag the localize a text name="%{getText('customer.security.login.title')}" /> I'm largely ignora

RE: I18N Problems

2007-02-16 Thread Juan Espinosa
---Mensaje original- De: news [mailto:[EMAIL PROTECTED] En nombre de Laurie Harper Enviado el: viernes, 16 de febrero de 2007 2:14 Para: user@struts.apache.org Asunto: Re: I18N Problems Juan Espinosa wrote: > Hi to all, i need some help with a intenationalization. I have a file > named packa

Re: I18N Problems

2007-02-15 Thread Laurie Harper
Juan Espinosa wrote: Hi to all, i need some help with a intenationalization. I have a file named package.properties in the folder where i have located the actions. The localization is not working in actionerrors, i have the following code in the action: addActionError("myapplication.registration

RE: I18N

2007-02-14 Thread Juan Espinosa
Maybe i must put a speciall tag in the jsp to load the file (package.properties) in the context, to get the I18N work. -Mensaje original- De: Juan Espinosa [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 14 de febrero de 2007 10:56 Para: 'Struts Users Mailing List' Asunto

RE: I18N

2007-02-14 Thread Juan Espinosa
: Struts Users Mailing List Asunto: Re: I18N --- Juan Espinosa <[EMAIL PROTECTED]> wrote: > I have a file named package.properties in the folder > where i have located the actions. > The localization is not working when i call a jsp like this > > > > /private/

Re: I18N

2007-02-14 Thread Dave Newton
--- Juan Espinosa <[EMAIL PROTECTED]> wrote: > I have a file named package.properties in the folder > where i have located the actions. > The localization is not working when i call a jsp > like this > > > > /private/customer/security/login.jsp > > So... - You say you have a package

Re: i18n usage when new window opened.

2006-07-05 Thread Paul Benedict
Some things to consider: 1) Is the calendar popup using Struts to create the calendar? Is it a 3rd party tag library or something? This would affect getting the Struts locale, if it is not aware of it. 2) If popping up a window loses the session, then consider the session never existed. Someti

RE: i18n, refreshing ApplicationResources

2006-06-20 Thread Mukta
recompile. But it wont be a good thing to post it here. If you want, I can send the files at your personal mail id. , -Original Message- From: Bharat Kumar Meda [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 3:45 PM To: Struts Users Mailing List Subject: RE: i18n,

RE: i18n, refreshing ApplicationResources

2006-06-13 Thread Bharat Kumar Meda
Hi, I need one clarification, don't we have to redeploy the application after changing the ApplicationResources_XX.properties file? (believing they are part of the war/ear) Regards, Bharat -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee Sent: Tuesday, June

RE: i18n with javascript validations

2006-02-20 Thread Kalra, Ashwani
I got it. I think I can specify it for each formset which are based on language and country. -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 10:44 AM To: Struts Users Mailing List Subject: RE: i18n with javascript validations Hi

RE: i18n with javascript validations

2006-02-20 Thread Kalra, Ashwani
21, 2006 2:53 AM To: user@struts.apache.org Subject: Re: i18n with javascript validations Kalra, Ashwani wrote: > Hi, > My project is using javascript validations generated through struts > validator. I want to do some currency validations based on the > language/country. Is it possible

Re: i18n with javascript validations

2006-02-20 Thread Laurie Harper
Kalra, Ashwani wrote: Hi, My project is using javascript validations generated through struts validator. I want to do some currency validations based on the language/country. Is it possible? Yes, it's possible, though Struts / Commons Validator don't include currency validation rules. You can

RE: i18n Issue for Chinese Locale.

2005-11-18 Thread Balasubramaniam, Sezhiyan
Thanks in advance, Bala I attached the output html: 亲爱的 -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 12:41 PM To: Struts Users Mailing List Subject: Re: i18n Issue for Chinese Locale. Everything looks good. UTF-8 is fine f

RE: i18n Issue for Chinese Locale.

2005-11-17 Thread Balasubramaniam, Sezhiyan
I tried putting head:meta tag and still the issue is there. I attached the output html. 亲爱的 Thanks a lot Jason for the help. -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 12:41 PM To: Struts Users Mailing List Subject: Re: i18n

Re: i18n Issue for Chinese Locale.

2005-11-17 Thread Jason Lea
Everything looks good. UTF-8 is fine for Chinese. You are getting 9 bytes as a result, which is what you should get for UTF-8 encoding, which is good. But it seems the browser isn't reading it as UTF-8 and just displaying the bytes instead under the default ISO encoding. Try adding this

Re: i18n Issue for Chinese Locale.

2005-11-17 Thread Martin Gainty
UTF-8 doesnt support DBCS but UTF-16 does Good Luck, - Original Message - From: "Balasubramaniam, Sezhiyan" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Thursday, November 17, 2005 2:52 PM Subject: i18n Issue for Chinese Locale. Hi, We use STRUTS 1.0.2 in one of our extr

Re: i18n and same value for 2 different locale

2005-10-25 Thread Christian Bourque
> We have a similar issue that only appears sometimes to our webapp > when its deployed to a websphere server. Our other environments that > run tomcat have never exhibited this problem. Humm weird because I use Tomcat (5.5) here... Anyway I'll let you know If I find anything useful! Christian

RE: i18n and same value for 2 different locale

2005-10-25 Thread Christian Bourque
> I DON'T USE THIS > > Locale.setDefault(Locale.FRENCH); > I USE THIS > > session.setAttribute(Globals.LOCALE_KEY, locale); Me too I'm using the session to store the user's default locale! The first one I'm using is to set a default locale for the JVM! This hasn't the same be

RE: i18n and same value for 2 different locale

2005-10-24 Thread Fulgencio Comendeiro, Eduardo
quot;success"); -Mensaje original- De: Jurn Ho [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de octubre de 2005 15:29 Para: Struts Users Mailing List Asunto: Re: i18n and same value for 2 different locale I'd be very interested if you find out what is wrong.. We have a similar

Re: i18n and same value for 2 different locale

2005-10-24 Thread Jurn Ho
I'd be very interested if you find out what is wrong.. We have a similar issue that only appears sometimes to our webapp when its deployed to a websphere server. Our other environments that run tomcat have never exhibited this problem. Jurn At 07:52 AM 22/10/2005, Christian Bourque wrote: Hi

[FRIDAY] Re: i18n and same value for 2 different locale

2005-10-21 Thread Dave Newton
Christian Bourque wrote: [...]the value returned was in english for a french locale ??? We know how much the French love speaking English. It's part of our plan for total world domination, one server at a time. Dave - To

Re: i18n, localeaction and actions

2005-10-17 Thread Xavier Vanderstukken
Im ade a mistake in my previous message the correct code is : System.out.println(request.getLocale()); if(request.getLocale()!=null) System.out.println(request.getLocale().getLanguage()); MessageResources lang=this.getResources(request); //instead of MessageResources lang=(MessageResources)req

Re: i18n and l10n issue - need help

2005-09-27 Thread Laurie Harper
ay of creating the property file is wrong. Please advice. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Tuesday, September 27, 2005 1.54 PM To: user@struts.apache.org Subject: Re: i18n and l10n issue - need help Balasubramaniam, Sezhiyan wrote:

Re: Re: i18n and l10n issue - need help

2005-09-27 Thread Michael Jouravlev
On 9/27/05, Balasubramaniam, Sezhiyan <[EMAIL PROTECTED]> wrote: > Thanks a lot Laurie. > > I have the ApplicationResources_zh.properties in WEB-INF/classes along > with other locale property files. > The issue is, always I am seeing the default locale, even when I am > explicitly changing the brow

RE: Re: i18n and l10n issue - need help

2005-09-27 Thread Balasubramaniam, Sezhiyan
ty file is wrong. Please advice. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Tuesday, September 27, 2005 1.54 PM To: user@struts.apache.org Subject: Re: i18n and l10n issue - need help Balasubramaniam, Sezhiyan wrote: > We were giving local

Re: i18n and l10n issue - need help

2005-09-27 Thread Laurie Harper
Balasubramaniam, Sezhiyan wrote: We were giving locale support for English, Spanish, French and German in one of our STRUTS 1.0.1 intranet application. So far, it went smooth as all the resource bundles are ASCII based. Recently we got some requirements on double byte characters (CHINESE and JA

Re: i18n recommendation

2005-09-15 Thread Ivan Rodriguez
What I use: First I store the ArrayList in the application context, with the locale identifies concatenated. And other useful localized strings that are constants. context.setAttribute(lang + "_" + Constants.YEAR_MONTHS, ym); And in the action where there is a forward that will display that

Re: i18n recommendation

2005-09-15 Thread Jadeler
Thanks Laurie. Btw, I actually meant the application context, not the session. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Jadeler wrote: > > Im using a struts plugin to populate application > wide > > data such list of values, etc from the database > and > > then stored in a session. I al

Re: i18n recommendation

2005-09-15 Thread Laurie Harper
Jadeler wrote: Im using a struts plugin to populate application wide data such list of values, etc from the database and then stored in a session. I also use the application resources bundles for text messages, labels, etc on my jsp pages. For displaying data pertaining to the locale the use

Re: I18N by pages

2005-07-11 Thread Marc Demlenne
Just a small mistake while copying my code here ... I've swapped to things. Sorry It is : On 11/07/05, Marc Demlenne <[EMAIL PROTECTED]> wrote: > Hello, > > Maybe another idea if I understand well what you want. > So you want to include a file, specific

Re: I18N by pages

2005-07-11 Thread Marc Demlenne
Hello, Maybe another idea if I understand well what you want. So you want to include a file, specific to the current locale definition. I need about the same feature, and was looking for a better way than mine to solve this. The only think is that I include a i18n _file_ in a general template, a

Re: I18N by pages

2005-06-29 Thread Jeff Beal
This is just an idea, depending on what sort of differences you have on your JSP pages, it may or not work. As a trite and unrealistic example, let's say that your design team has told you that blue text will work better for your English-speaking audience, but purple text will work better for your

Re: I18N by pages

2005-06-29 Thread Yaroslav Novytskyy
Hello! Jeff Beal wrote: ... Have you considered locale-specific CSS files to give a different presentation to the same JSP page? ... I have no idea of this. Can you, please, comment? Yaroslav Novytskyy. - To unsubscribe, e-m

Re: I18N by pages

2005-06-25 Thread Van
On 6/24/05, Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote: > Wow! > > meanwhile I've had the same idea. Posted simultaniosly :) > > But I doubt, that this solution will be compatible with tiles :( > > What do you think about that? Don't use tiles. :-) I'm serious. I used tiles for several years

Re: I18N by pages

2005-06-24 Thread Ramadi Pearse
Yaroslav, Tiles already contains 18N support. If your tiles config is called tiles-config.xml, the controller will look for tiles named in the user's locale first (tiles-config_fr.xml, tiles-config_de.xml) and then default to the original if cannot be found. Use this as a way of presenting differ

  1   2   >