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

2005-02-25 Thread Niall Pemberton
All you need to do is configure the Filter - it "wraps" the response in a UTF8EncodingServletResponse for you. Filters were introduced in the Servlet 2.3 specification and you configure it in your web.xml. First identify the filter, then map the url pattern for the requests you want it to handle.

Re: i18n problem

2005-02-25 Thread Antony Joseph
Here is a good article which covers i18n. http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n.html For a full fledged struts application with i18n/l10n support check out workeffort.dev.java.net - Original Message - From: Hamster <[EMAIL PROTECTED]> To: "Struts Users Mailing List"