ILES-2-1-2-I18n-problem-tp4612299p4612581.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Have you tried tiles 2.2.2?
Mitch
From: alexcocia
To: user@struts.apache.org
Date: 07/19/2011 08:14 AM
Subject:[TILES 2.1.2] I18n problem
Hi all,
I have an application using Struts2 + Tiles 2.1.2.
The application has some i18n features in two ways: First for text content
sh), but cannot find it.
Any help? I would really appreciate it.!!!
King regards
Alex
--
View this message in context:
http://struts.1045723.n5.nabble.com/TILES-2-1-2-I18n-problem-tp4612299p4612299.html
Sent from the Struts - User mailing list a
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
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
Hi,
imagine the following jsp (saved in UTF-8 encoding):
-- snipp ---
<%@ taglib prefix="s" uri="/struts-tags" %>
Hauptmenü
-- END snipp ---
Now i have a resource bundle like that:
menu.mainmenu=Hauptmen\u00fc
Inside its the german u with 2 dots on top.
Now i run th
Hi, i've got a simple JSP displaying some i18n text:
struts.xml:
/WEB-INF/view/ruleset/index.jsp
/WEB-INF/view/ruleset/index.jsp
properties are defined at package.properties and global
language_views.prop
--- 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
Hi boys, this is the problem.
I've a big document which must be internazionalized. I wouldn't use
the standard approach using a single property in the boundle for each
section of the document, but, for maintenance reasons, i prefer to
have one copy or the doc for each locale i must provide,
Hi,
I have a i18n problem when validating a field in my action. (Struts
2.0.11.2)
My validation:
@RequiredStringValidator(
fieldName = "user.username", key = "error.required", message = "")
My resource bundle reads this:
error.required=${getText(field
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!
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,
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
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
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
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 the old struts 1 applicaiton)
There is a line "blabla = test"
2. In the struts.properties file I
Thanks!
Ok, the filter is used now, as I can see in the debugger. However, the
text in the form bean still is wrong. :(
I don't know what I'm missing...
I know that when using WebSphere you can set
client-encoding-override=utf-8, I guess this filter does the same,
right?
Is there more I have t
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.
> 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
Thanks, Antony, for the links. But I'm a bit confused by the article in
the javaworld.
ailing List"
Subject: i18n problem
Date: Fri, 25 Feb 2005 19:23:46 +0100
>
> Hello!
>
> I'm having troubles with i18n in the html form. How do I have to make
> the configuration for successfully getting the text in the right
> character encodings out of the form in the
Hello!
I'm having troubles with i18n in the html form. How do I have to make
the configuration for successfully getting the text in the right
character encodings out of the form in the action?
I found out that there is a good web site
http://www.anassina.com/struts/i18n/i18n.html - but unfortuna
coding="UTF-8" %>
Hope it helps,
\T,
> -Original Message-
> From: Paul McCulloch [mailto:[EMAIL PROTECTED]
> Sent: 02 April 2004 17:14
> To: 'Struts Users Mailing List'
> Subject: RE: .properties file --> Again I18n problem
>
>
> Check th
> Sent: 02 April 2004 13:02
> To: Struts Users Mailing List
> Subject: Re: .properties file --> Again I18n problem
>
>
> Now I am able to receive errors, after I have configured Deployment
> Descriptor.
>
> But unfortunately, when you wright to ApplicationResources
Now I am able to receive errors, after I have configured Deployment
Descriptor.
But unfortunately, when you wright to ApplicationResources file non-ascii
characters, such as ş,ğ, etc.
They are not properly displayed from JSP.
I tried the following things:
- convert special characters with sdk's na
24 matches
Mail list logo