ś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
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,
Hi,
Using https://stackoverflow.com/questions/5548104/struts-select-tag-localization-implementation/17258640#17258640
I think,
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
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
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
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
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
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
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
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
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.
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?
---
--- 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
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
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
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&
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
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
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
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
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
-
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
--- 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
--- 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
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
>
Use instead
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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.
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
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
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
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
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
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,
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
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
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
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
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:
, 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
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
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
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
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
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
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
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
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
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
"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
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
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
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
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
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
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
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
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
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,
>
--- 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
-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
---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
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
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
: 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/
--- 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
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
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,
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
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
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
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
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
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
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
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
> 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
> 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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 165 matches
Mail list logo