Re: i18n with Japanese characters and tags....

2004-03-26 Thread atchy
they will be (B displayed. (B (BYep. The example app was written as a good example for i18n, so it does (Bnot contain any language specific characters directly in the JSPs to (Bshare a JSP with many languages. (BThe messages resource files contain them. (B (B (B You should look into that http

Re: i18n with Japanese characters and tags....

2004-03-24 Thread carlo latasa
] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: i18n with Japanese characters and tags Date: Tue, 23 Mar 2004 16:12:20 +0900 Carlo, Have you checked the example application included in Struts1.1(or current CVS)? It can show

Re: i18n with Japanese characters and tags....

2004-03-24 Thread Jason Lea
He was saying it 'can' display Japanese characters. The example doesn't have any Japanese characters in in (if i remember correctly), but if they are put into the properties files for the locale they will be displayed. You should look into that http://www.anassina.com/struts/i18n/i18n.html page

Re: i18n with Japanese characters and tags....

2004-03-24 Thread carlo latasa
PROTECTED] Subject: Re: i18n with Japanese characters and tags Date: Thu, 25 Mar 2004 09:39:40 +1200 He was saying it 'can' display Japanese characters. The example doesn't have any Japanese characters in in (if i remember correctly), but if they are put into the properties files for the locale

i18n with Japanese characters and tags....

2004-03-22 Thread carlo latasa
Hello, I'm trying to show Japanese characters on my jsp pages however the character of the charset is coming back as amp; which is preventing the characters from being displayed correctly. They look like: #12461;#12459;#12473;#12495; Note, the bean:write tag renders the characters correctly

RE: i18n with Japanese characters and tags....

2004-03-22 Thread Kumar, Ram S
AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: i18n with Japanese characters and tags Hello, I'm trying to show Japanese characters on my jsp pages however the character of the charset is coming back as amp; which is preventing the characters

RE: i18n with Japanese characters and tags....

2004-03-22 Thread carlo latasa
thanks for the message Ram, I did try that and it had no noticable effect. From: Kumar, Ram S [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: i18n with Japanese characters and tags Date: Tue, 23 Mar 2004 00

Re: i18n with Japanese characters and tags....

2004-03-22 Thread atchy
resource files. Don't forget native2ascii when you make your resource files. see also : http://www.anassina.com/struts/i18n/i18n.html Yoshinori Ashizawa Ja-Jakarta Project www.jajakarta.org carlo latasa [EMAIL PROTECTED] wrote: Hello, I'm trying to show Japanese characters on my jsp

Re: reloading i18n

2004-03-08 Thread Vincent Lin
); ServletContext ctx = getServlet().getServletContext(); ctx.setAttribute(Globals.MESSAGES_KEY, resources); /snip nameOfMessage should be the full pakage name of the message resources. Regards, Vincent --- Paul Stanton [EMAIL PROTECTED] anyone written code to reload the contents of their i18n file (aka

reloading i18n

2004-03-07 Thread Paul Stanton
anyone written code to reload the contents of their i18n file (aka application.properties)? it seems a little stupid to be reloading web applications because messages have been changed. - To unsubscribe, e-mail: [EMAIL

i18n in tiles-defs.xml?

2004-03-05 Thread Dean A. Hoover
Suppose I have a string defined in a definition, such as: definition name=foo page=/myPage.jsp put name=title value=Hello/ /definitions How would I go about replacing Hello with a reference to a string instead of the string itself? Can this be done just using tiles-defs.xml, or is it a two step

RE: Using struts I18N fonctionnalities from an action

2004-01-21 Thread Larry Meadors
Use the MessageResources class. I use struts:i18n ... tags in my application and it works well. Now, i need to use Struts' internationnalization functionalities from an action (use case : I forward to a presentation framework and do not have acces to JSP, I can only use presentation

Using struts I18N fonctionnalities from an action

2004-01-20 Thread TREGAN Fabien (APTUS)
Title: Using struts I18N fonctionnalities from an action Hi, I use struts:i18n ... tags in my application and it works well. Now, i need to use Struts' internationnalization functionalities from an action (use case : I forward to a presentation framework and do not have acces to JSP, I can

RE: Using struts I18N fonctionnalities from an action

2004-01-20 Thread Patrick Cheng
just a thought. Most people use the Application Resource bundle to handle internationalization issues, and it also works in action classes. You may have multiple property files for each locale, with the corresponding i18n labels. Rgds, Patrick -Original Message- From

RE: Using struts I18N fonctionnalities from an action

2004-01-20 Thread Patrick Cheng
Oops, I think I worded it incorrectly, I mean, you can have separate property file for each locale you want. -Original Message- From: Patrick Cheng Sent: Wednesday, January 21, 2004 10:28 AM To: Struts Users Mailing List Subject: RE: Using struts I18N fonctionnalities from

Tiles and i18n

2003-12-19 Thread Patrick Cheng
Hi all, I know that Tiles support i18n by allowing multiple tiles definition files with standard java language file extension such as _en_US , _fr etc. My Master Layout file contains other pages such as the navbars, body etc. and the ONLY single piece of information it needs to show

Re: Tiles and i18n

2003-12-19 Thread Marino A. Jonsson
Just use the title-value from the tiles definition as a key to access the real value in the resource bundle :) cheers, Marinó Patrick Cheng [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I know that Tiles support i18n by allowing multiple tiles definition files with standard

Antwort: Re: Tiles and i18n

2003-12-19 Thread Oliver Wulff
Marino A. Jonsson An: [EMAIL PROTECTED] [EMAIL PROTECTED]Kopie: otmail.com Thema:Re: Tiles and i18n

I18N, Tiles definition

2003-12-09 Thread Oliver Wulff
I've defined a tile called title in a tile definition which is a language dependend string. Therefore, I though I could set the key (webapp.title) of the resource bundle as a value: definition name=.mainLayout path=/layout/classicLayout.jsp put name=title value=webapp.title / put

RE: I18N, Tiles definition

2003-12-09 Thread List Mailbox
] Behalf Of Oliver Wulff Sent: Tuesday, December 09, 2003 4:46 AM To: [EMAIL PROTECTED] Subject: I18N, Tiles definition I've defined a tile called title in a tile definition which is a language dependend string. Therefore, I though I could set the key (webapp.title) of the resource bundle

i18N tag lib and struts

2003-11-03 Thread Vara Prasad Reddy
Hello everybody: How best is i18N taglib useful, along with struts 1.1 - Vara Prasad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: i18N tag lib and struts

2003-11-03 Thread Vara Prasad Reddy
meaning, do I need to use i18N tag lib at all, when using struts. -Original Message- From: Vara Prasad Reddy [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 6:39 PM To: Struts Users Mailing List Subject: i18N tag lib and struts Hello everybody: How best is i18N taglib useful

LookupDispatchAction and I18N

2003-10-27 Thread Michael Blair
Greetins all, As a newbie in struts, I am sure this is something simple. I have some LookupDispatchActions setup and working fine. Now, I want to internationalize this app. I created a second resource file ending in es_MX. Ok, now what happens is when it does the lookup to find the method in my

Re: i18n - Chinese charactor problem

2003-10-20 Thread Adam Hardy
to MySQL, it's not working properly. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 20, 2003 12:09 AM Subject: Re: i18n - Chinese charactor problem What version of mySQL do you have? I believe that complete

Re: i18n - Chinese charactor problem

2003-10-19 Thread Adam Hardy
[EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:49 PM Subject: Re: i18n - Chinese charactor problem UTF-8 On 10/16/2003 07:25 PM ZYD wrote: Now I use UTF-8 everywhere instead of gb2312, this problem is gone. Thanks for your help. I have another problem, hope can get some advice from you: I

Re: i18n - Chinese charactor problem

2003-10-19 Thread Jim Theodoridis
Wich jdbc driver for mySQL are U using? It works fine to me mysql-connector-java-3.0.8 for Greeks - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, October 19, 2003 7:09 PM Subject: Re: i18n - Chinese charactor problem

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
When I write chinese charactor to MySQL, it's not working properly. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 20, 2003 12:09 AM Subject: Re: i18n - Chinese charactor problem What version of mySQL do you

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
=truecharacterEncoding=UTF-8 Not works fine. - Original Message - From: Jim Theodoridis [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 20, 2003 12:27 AM Subject: Re: i18n - Chinese charactor problem Wich jdbc driver for mySQL are U using? It works fine to me

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 20, 2003 12:09 AM Subject: Re: i18n - Chinese charactor problem What version of mySQL do you have? I believe that complete unicode support is only present in the latest perhaps even beta versions

Re: i18n - Chinese charactor problem

2003-10-18 Thread ZYD
No, UTF-8 does not work. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:49 PM Subject: Re: i18n - Chinese charactor problem UTF-8 On 10/16/2003 07:25 PM ZYD wrote: Now I use UTF-8 everywhere

Re: i18n - Chinese charactor problem

2003-10-17 Thread Adam Hardy
:34 AM Subject: Re: i18n - Chinese charactor problem If you are using UTF-8 everywhere it should work - I use it for english Japanese and it works. You mentioned in another message you had this: filter-classSetCharacterEncodingFilter/filter-class init-param param-nameencoding/param-name param

i18n - Chinese charactor problem

2003-10-16 Thread ZYD
Hi, I have a problem in getting the Chinese charactors from html:text, The following is my jsp file: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action=/submit focus=email head/head body html:text

Re: i18n - Chinese charactor problem

2003-10-16 Thread Greg Reddin
I don't remember the exact code, but a looong time ago we had to write a Filter that created a request wrapper that properly set the character encoding on request parameters. Maybe googling that would turn up something. Greg ZYD wrote: Hi, I have a problem in getting the Chinese charactors

Re: i18n - Chinese charactor problem

2003-10-16 Thread Jason Lea
Here is a link that explains what is needed and a filter to do it... http://www.anassina.com/struts/i18n/i18n.html Greg Reddin wrote: I don't remember the exact code, but a looong time ago we had to write a Filter that created a request wrapper that properly set the character encoding

Re: i18n - Chinese charactor problem

2003-10-16 Thread ZYD
: i18n - Chinese charactor problem I don't remember the exact code, but a looong time ago we had to write a Filter that created a request wrapper that properly set the character encoding on request parameters. Maybe googling that would turn up something. Greg ZYD wrote: Hi, I have

Re: i18n - Chinese charactor problem

2003-10-16 Thread ZYD
% then the Chinese charactors are handled properly. Why is that? - Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 5:51 AM Subject: Re: i18n - Chinese charactor problem Here is a link that explains what is needed

Re: i18n - Chinese charactor problem

2003-10-16 Thread Jason Lea
contentType=text/html; charset=GBK % then the Chinese charactors are handled properly. Why is that? - Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 5:51 AM Subject: Re: i18n - Chinese charactor problem

Re: i18n - Chinese charactor problem

2003-10-16 Thread ZYD
=GB2312 use GB2312 in this string is not a good idea I think. Then what should the characterEncoding be? -bruce - Original Message - From: Jason Lea [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 11:34 AM Subject: Re: i18n - Chinese

Re: Struts-example i18n

2003-09-11 Thread koen boutsen
PROTECTED] To: [EMAIL PROTECTED] Cc: I can successfully run the struts-example app provided with the STRUTS install on Tomcat in English, however, I would like to be able to view the i18n capabilities using the 'ja' and 'ru' .properties files. I have added the 'ja' and 'ru' locales and removed

RE: Struts-example i18n

2003-09-10 Thread Yoo-Jin Lee
-example i18n I can successfully run the struts-example app provided with the STRUTS install on Tomcat in English, however, I would like to be able to view the i18n capabilities using the 'ja' and 'ru' .properties files. I have added the 'ja' and 'ru' locales and removed the 'en' locale

Struts-example i18n

2003-09-10 Thread Kapadia Mitesh-C23457
I can successfully run the struts-example app provided with the STRUTS install on Tomcat in English, however, I would like to be able to view the i18n capabilities using the 'ja' and 'ru' .properties files. I have added the 'ja' and 'ru' locales and removed the 'en' locale by configuring my

Recall: Struts-example i18n

2003-09-10 Thread Kapadia Mitesh-C23457
Kapadia Mitesh-C23457 would like to recall the message, Struts-example i18n. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

i18n with struts / JSTL

2003-09-09 Thread Siva
Dear Friends, Could anyone suggests which is best among the Struts tags and JSTL tags for I18n of struts based application. Thanks, Sivakumar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: i18n with struts / JSTL

2003-09-09 Thread Adam Hardy
It's not necessarily a question of which is best, rather which has the biggest future. In this respect you should use the JSTL fmt: taglib. Adam On 09/09/2003 08:18 AM Siva wrote: Dear Friends, Could anyone suggests which is best among the Struts tags and JSTL tags for I18n of struts based

RE: i18n with struts / JSTL

2003-09-09 Thread Paul McCulloch
[mailto:[EMAIL PROTECTED] Sent: 09 September 2003 09:27 To: Struts Users Mailing List Subject: Re: i18n with struts / JSTL It's not necessarily a question of which is best, rather which has the biggest future. In this respect you should use the JSTL fmt: taglib. Adam On 09/09/2003 08:18 AM Siva

RE: i18n with struts / JSTL

2003-09-09 Thread Paananen, Tero
Bear in mind that there are bugs in the jstl code that aren't in the struts equivalents: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16932 That's just one implementation of JSTL. The application server vendor's JSTL implementation is not going to have (the same) bugs. Depending, of

Struts-example i18n

2003-09-09 Thread Kapadia Mitesh-C23457
I can successfully run the struts-example app provided with the STRUTS install on Tomcat in English, however, I would like to be able to view the i18n capabilities using the 'ja' and 'ru' .properties files. I have added the 'ja' and 'ru' locales and removed the 'en' locale by configuring my

RE: [OT ]Re: jstl:fmt i18n weirdness

2003-08-21 Thread Paul McCulloch
Thanks Yann -Original Message- From: Yann Cébron [mailto:[EMAIL PROTECTED] Sent: 20 August 2003 19:19 To: [EMAIL PROTECTED] Subject: [OT ]Re: jstl:fmt i18n weirdness I'm experiencing werdness with localised fmt:message calls. It appears that This tag has nothing do to with Struts, so

jstl:fmt i18n weirdness

2003-08-20 Thread Paul McCulloch
I'm experiencing werdness with localised fmt:message calls. It appears that the langauge of the first request to the context determines the langauage of all future requests, even from other machines. For example: 1) Tomcat restarted 2) Browser A requests a page in French - the page is displayed

[OT ]Re: jstl:fmt i18n weirdness

2003-08-20 Thread Yann Cébron
I'm experiencing werdness with localised fmt:message calls. It appears that This tag has nothing do to with Struts, so please ask on the taglibs-user mailing-list. I remember seeing a couple of messages regarding this problem, so you might find an answer in the archives. Yann

Re: Questions about i18n.

2003-08-14 Thread Adam Hardy
The standard i18n functionality is appropriate for allowing a user to see i18nized dates, page titles, labels etc etc. I'm not sure you can approach your problem that way, due to issues such as having content in a properties file. You could theoretically change from having the content

I18N - Currency question

2003-08-14 Thread David Thielen
Hi; I am displaying currency in my website. It is always in U.S. dollars so I am doing: NumberFormat.getCurrencyInstance().format( (float) price / 100f ); Two questions: 1.. I assume I should set the locale for this to en_US since I want to have the dollar sign. 2.. Should it do the

RE: Questions about i18n.

2003-08-14 Thread Paul McCulloch
altKey=languagelogo.alt/ Just specifiy the relevant path text in your locale specific properties files. Paul -Original Message- From: Henry Voyer [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 22:58 To: [EMAIL PROTECTED] Subject: Questions about i18n. Hi fellow strutsers. I have 2

Questions about i18n.

2003-08-14 Thread Henry Voyer
Hi fellow strutsers. I have 2 i18n question. 1) How can i i18n of huge amount of text ? Ex. i have 2 texts one in french and one in englsh that i would like to insert in an JSP Ex comment_en.txt and comment_fr.txt Do i have to put it in one .propertie line ? 2) How can we i18n images? Ex. 2

RE: sample struts w/ I18N and validator

2003-08-14 Thread James Mitchell
To: [EMAIL PROTECTED] Subject: sample struts w/ I18N and validator Hi; Does anyone know of a simple sample struts page (like logon) that includes Internationalization and validators so it shows how to use everything? thanks - dave

RE: Questions about i18n.

2003-08-14 Thread Toby Vidler
For 2) you could simply have a text string which includes the img html tag. You would then just put this in the properties file as normal and specify a seperate image for each language file. Toby. On 08/13/2003 11:58 PM Henry Voyer wrote: Hi fellow strutsers. I have 2 i18n question. 1) How

Re: sample struts w/ I18N and validator

2003-08-14 Thread Sergey Smirnov
struts-validator.war shipped with Struts distributive is a good example covered both I18N and validators. You can take it from http://forum.exadel.com/viewtopic.php?t=120 with illustration of application Web Flow. Regards, Sergey Smirnov David Thielen [EMAIL PROTECTED] wrote in message news

Re: I18N - Currency question

2003-08-09 Thread David Geary
accordingly. If I was selling something, I'd be as accommodating as possible. 8-) If you're using JSP for presentation, I recommend the JSTL i18n and formatting tags instead of Java code. david thanks - dave - To unsubscribe, e

Re: Hindi i18n Iscii Font

2003-08-07 Thread Vineet Bhatia
Aug 2003 09:24:24 +0100 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Hindi i18n Iscii Font Try looking at icu4j it's a Open Source by IBM http://oss.software.ibm.com/icu4j/ they have a cool api for doing internationalisation to any character set Rupinder

RE: Hindi i18n Iscii Font

2003-08-06 Thread Rupinder Singh Mazara
Subject: Re: Hindi i18n Iscii Font Hi Kiran, You need to set the character encoding for the JSP page/response. Java still thinks the response should be in the default encoding which is ISO-8859-4 (I think that is the Latin character set). I use UTF-8 encoding so that I can mix languages eg

sample struts w/ I18N and validator

2003-08-06 Thread David Thielen
Hi; Does anyone know of a simple sample struts page (like logon) that includes Internationalization and validators so it shows how to use everything? thanks - dave

Hindi i18n Iscii Font

2003-08-05 Thread Kiran Kumar.M
Hi, I need some help on I18n in Hindi,I am using Struts 1.1 and need to display fonts in hindi (we use iscii charsets which are 8 bit)... if i give the hindi value directly in my jsp it is working fine but it is not able to read the same from the resource file ... here are the steps i

Re: RES: I18N in struts

2003-08-03 Thread Ted Husted
- De: Yansheng Lin [mailto:[EMAIL PROTECTED] Enviada em: Friday, August 01, 2003 11:43 AM Para: 'Struts Developers List' Assunto: RE: I18N in struts This has been asked for many times:). This link is a great starting point: http://www.anassina.com/struts/i18n/i18n.html -Original Message

Re: i18n, passing variable into arg0 using bean:message

2003-06-24 Thread Tin Pham
On thing that wasn't mentioned. You have to cast to (String) in the scriptlets example as define does not set a type. bean:message key=deleteBusiness.confirm.p1 arg0=%=(String)orgName%/ Jason Lea [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tin Pham wrote: Hi, Individually

Re: i18n, passing variable into arg0 using bean:message

2003-06-20 Thread Tin Pham
Thanks! I really appreciate your help. I guess JSTL will eventually replace struts custom tags? Jason Lea [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tin Pham wrote: Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm company b{0}/b is correct.

Re: i18n, passing variable into arg0 using bean:message

2003-06-20 Thread Craig R. McClanahan
On Fri, 20 Jun 2003, Tin Pham wrote: Date: Fri, 20 Jun 2003 02:15:39 -0400 From: Tin Pham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: i18n, passing variable into arg0 using bean:message Thanks! I really appreciate your help

i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Tin Pham
Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm company b{0}/b is correct. bean:message key=deleteBusiness.confirm.p1 arg0=Esso/ bean:write name=deleteOganizationForm property=organizationName scope=session ignore=true/ Instead of using a literal of esso we want to use the

Re: i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Jason Lea
Tin Pham wrote: Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm company b{0}/b is correct. bean:message key=deleteBusiness.confirm.p1 arg0=Esso/ bean:write name=deleteOganizationForm property=organizationName scope=session ignore=true/ Instead of using a literal of esso we

RE: i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Hrishi Dixit
cell [EMAIL PROTECTED] -Original Message- From: Tin Pham [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 6:04 AM To: [EMAIL PROTECTED] Subject: i18n, passing variable into arg0 using bean:message Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm

tags within tags i18n

2003-03-28 Thread Vivian, Nigel (N.)
Hi all Im trying to i18n an application and am using the standard bean:message key=myKey/ tag. Everything works OK but i want to write something like html:link title=bean:message key='myKey'/...forward= ... / and this just put in the quoted string without any substitution (ive tried a few

Re: tags within tags i18n

2003-03-28 Thread Dan Tran
try this snippet bean:define id=myVar bean:message key=myKey / /bean html:link title=%=myVar % forward= ... / /snippet -D - Original Message - From: Vivian, Nigel (N.) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:04 AM Subject: tags within tags i18n

Struts popup i18n solution

2003-03-18 Thread Chandramoulee
I have multiple language support in Struts. 1. How to call to _javascript_:popup window from struts 2. How to extend this to popup windows's messages also. Regards Chandramoulee

Re: i18n in SimpleMenuItem

2003-03-03 Thread Cedric Dumoulin
Hi, The Tiles config files should contain the resource keys (put name=title value=a.key /). You use this keys in the jsp file in conjunction with tags accepting such keys: tiles:importAttribute / bean:write name=a.key /. You can implement your own SmartMenuItem, taking a key as input, and

i18n in SimpleMenuItem

2003-02-28 Thread Dan Allen
Has anyone written a class (which they would like to share) that extends SimpleMenuItem to retrieve the bundle key for value and global forward for the link? I was envisioning something along the lines of: item name=webapp.page.news value=news

Re: i18n in SimpleMenuItem

2003-02-28 Thread David Graham
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: i18n in SimpleMenuItem Date: Fri, 28 Feb 2003 21:03:36 -0600 Has anyone written a class (which they would like to share) that extends SimpleMenuItem to retrieve the bundle key for value and global forward for the link? I was envisioning something along

RE: bean:message problems with i18n

2003-02-14 Thread Rademacher Tobias
-Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 7:15 PM To: 'Struts Users Mailing List' Subject: AW: bean:message problems with i18n James, thanks for your help! I tried it in different browser types and in different

AW: bean:message problems with i18n

2003-02-14 Thread Hirschmann, Bernhard
2003 12:08 An: 'Struts Users Mailing List' Betreff: RE: bean:message problems with i18n Hi Bernhard, I have the same problems as you. Application.properties (fallback english) Application_de_DE.properties( German translation ) I'm using 1.1b2. If your OS language is German the German property

RE: bean:message problems with i18n

2003-02-14 Thread Rademacher Tobias
, 2003 12:48 PM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: AW: bean:message problems with i18n Hi Toby, I solved this problem doing something different: I instantiate now the Locale object only with the language parameter, and *without* the country parameter. new

AW: bean:message problems with i18n

2003-02-14 Thread Hirschmann, Bernhard
; 'Struts Users Mailing List'; Rademacher Tobias Betreff: RE: bean:message problems with i18n Hi Bernhard, This is what i logged with log4j within my action LOGGER.debug(Request Locale + request.getLocale() ); LOGGER.debug(Current locale: + getLocale(request)); log file snipplet

Re: When i18n isn't Needed

2003-02-14 Thread David Graham
What's wrong with using: anything.goes={0} if i18n isn't needed? I feel sorry for the person who has to maintain multiple sets of files needlessly. I18N is only one reason to use resource files for messages. What happens when you need to change how a common message reads? You need to go

Re: When i18n isn't Needed

2003-02-14 Thread Dave Ford
I feel really bad for the person maintaining code written that way. Why? What's wrong with using: anything.goes={0} if i18n isn't needed? I feel sorry for the person who has to maintain multiple sets of files needlessly. If you use a resource file, changes to text strings require a text file

bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
We have big problems with the use of the i18n messages, used with the bean:message tag. But the problems encounter only in a special scenario: 1.) A German user loggs in - a German locale is set using Action.setLocale() - exploring some JSPs, all messages are in German, that's good. 2

AW: bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
I forgot: we use the struts version 1.1b3 -Ursprüngliche Nachricht- Von: Hirschmann, Bernhard Gesendet: Donnerstag, 13. Februar 2003 18:41 An: Struts User Mailing List (E-Mail) Betreff: bean:message problems with i18n We have big problems with the use of the i18n messages, used

RE: bean:message problems with i18n

2003-02-13 Thread James Childers
[mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 11:41 AM To: Struts User Mailing List (E-Mail) Subject: bean:message problems with i18n We have big problems with the use of the i18n messages, used with the bean:message tag. But the problems encounter only in a special scenario

AW: bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
problems with i18n Have you tried opening up a new browser and trying again? Sounds like it may be a caching issue. Also, check that your html:html tag is generating the correct lang attribute. Reload the page and view source, then check the HTML tag. -= J -Original Message- From

AW: bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
with i18n James, thanks for your help! I tried it in different browser types and in different windows. So this appears also in different HTTPSessions. I can reload as much as I want, and I do not use any proxies for that. So I guess it is not a caching issue. I checked the html:html tag. The lang

SOLVED: bean:message problems with i18n - BUG in bean:message ???

2003-02-13 Thread Hirschmann, Bernhard
: bean:message problems with i18n Hello all! this is still an open thread for me. It's horrifying... Any help highly appreciated! Regards, Bernhard -Ursprüngliche Nachricht- Von: Hirschmann, Bernhard Gesendet: Donnerstag, 13. Februar 2003 19:15 An: 'Struts Users Mailing List' Betreff: AW

RE: bean:message problems with i18n

2003-02-13 Thread Remke Rutgers
it.) Good luck, Remke Rutgers -Oorspronkelijk bericht- Van: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 14 februari 2003 8:18 Aan: 'Struts Users Mailing List' Onderwerp: AW: bean:message problems with i18n Hello all! this is still an open thread for me. It's

Re: Problem with struts, taglibs and i18n

2003-02-10 Thread Tom Ziemer
] Subject: Problem with struts, taglibs and i18n Hello, I've got a little problem: I am working on an application that uses struts, castor, taglibs, etc. and I've written a custom tag that will create the page-design for me: ... [Part of my tld] tag namemyDesign/name tagclasstag.DesignTag

[Validator] i18n support ? Help!

2003-02-06 Thread Fred Lamuette
Why Validator doesn't support i18n for testing numbers (float,double) whereas it does it for date types? I'm wondering whether i have to 1 /subclass org.apache.struts.validator.FieldChecks and overwrite method validateFloat and validateDouble or 2/ add to GenericTypeValidator (package commons

Problem with i18n

2003-02-04 Thread Mouratidis, Georg
Hi at all, i have a problem with my Resourcebundles. When the user logged in he/she should see the login page with his/her appropriate language values. the problem is, i can change the language into a language other than german (Locale=de) but struts is still displaying the values from the

Testing I18n.

2003-02-04 Thread joni santoso
Hi, I am using Win2kServer using English version. I wanna test the i18n support from struts. I want to create an app using Chinese and German language. How to emulate it using struts? I mean how to make struts to think that this application runs on Chinese/German locale. Regards

Re: Testing I18n.

2003-02-04 Thread Taylor Cowan
that i18n in struts is different from swing in that you must always tell the java.text and util classes which locale to use. The default locale of the server may not be what the user wants. Is that what you meant by make struts to think that this application runs on Chinese/German locale? Taylor Cowan

AW: Testing I18n.

2003-02-04 Thread Hirschmann, Bernhard
-Ursprüngliche Nachricht- Von: Taylor Cowan Gesendet: Mittwoch, 5. Februar 2003 09:42 An: Struts Users Mailing List Betreff: Re: Testing I18n. Struts can detect the client's prefered language by using the accept-languages header value. You can do this on IE by selecting ToolsInternet

Re: When i18n isn't Needed

2003-02-03 Thread David Graham
One of the original reasons Struts was created was to handle I18N. That's why it's tied into the framework so closely. Even if you don't need to support multiple languages you should still use a resource file to store messages to make changes *much* easier. David From: Dave Ford [EMAIL

RE: When i18n isn't Needed

2003-02-03 Thread Sri Sankaran
: Monday, February 03, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: Re: When i18n isn't Needed One of the original reasons Struts was created was to handle I18N. That's why it's tied into the framework so closely. Even if you don't need to support multiple languages you should still use a resource

RE: When i18n isn't Needed

2003-02-03 Thread David Graham
:-), never thought of doing that. I feel really bad for the person maintaining code written that way. David From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: When i18n isn't Needed Date: Mon

RE: When i18n isn't Needed

2003-02-03 Thread Andy Kriger
PROTECTED] Subject: Re: When i18n isn't Needed One of the original reasons Struts was created was to handle I18N. That's why it's tied into the framework so closely. Even if you don't need to support multiple languages you should still use a resource file to store messages to make changes *much

Re: Handling i18n dates in forms.

2003-02-02 Thread Ted Husted
Most of the real work can occur on the back end in POJOs (Plain Old Java Objects). In practice, the way to accept dates in a form is through a select box and/or JavaScript calendar. So you start by sending out a set of three select boxes with the year/month/day (localised if need be). When

When i18n isn't Needed

2003-02-02 Thread Dave Ford
It seems to me that for apps that do not need i18n, i18n constructs shouldn't be forced upon the user. Is there a way to return an error message from ActionForm.validate(..) without dealing with a resource file? Dave Ford Smart Soft - The Developer Training Company http://www.smart-soft.com

  1   2   3   4   >