Hi,
In my Struts2 application I have the following language files:
default_de.properties
default_fr.properties
default.properties (contains EN)
When I start my application, the application is in French (probably because JVM
default locale is french). Then I tried to change language by appending
le : Vendredi, 14 Août 2009, 17h47mn 37s
Objet : RE: Struts2 + I18N
Hi,
Use struts.locale=en in your struts.properties file. Hope this works.
Regards,
Balaji C R B
-Original Message-
From: Julien HENRY [mailto:henr...@yahoo.fr]
Sent: Friday, August 14, 2009 9:11 PM
To: u
Hi,
Is there already something in Struts2 allowing to use accept-language header as
a default language when an user first connect to my application?
I think it could be an option of the I18N interceptor but I can't manage to
find any information on that.
Suggestion?
Regards,
Julien
nhfbq7od?q=s2+and+default+locale/language+list:org.apache.struts.users/
________
From: Julien HENRY
To: Struts Users Mailing List
Sent: Friday, August 14, 2009 4:52:28 PM
Subject: Re : Struts2 + I18N
Hi,
AFAIK this is the same as adding
in struts.xml.
BTW I tried you
, Aug 14, 2009 at 3:03 PM, Musachy Barroso wrote:
> There is a major refactoring planned for xwork's I18n, this should
> probably be part of it. Rene you watching this?
>
> musachy
>
> On Fri, Aug 14, 2009 at 2:16 PM, Julien HENRY wrote:
> > After digging into Strut
ake a good FAQ if it is not there already.
On Fri, Aug 14, 2009 at 3:25 PM, Julien HENRY wrote:
> Very, very hackish... but I like it ;)
>
> Thanks for this very good trick.
>
>
>
>
>
> De : Chris Pratt
> À : Struts Users Mailing List
session so any change to
browser preferred language will only be taken into account after session
expiration.
I've opened a bug with a patch: http://jira.opensymphony.com/browse/XW-714
Regards,
Julien
De : Zoran Avtarovski
À : Struts Users Mailing List ; J
ile was selected when
debugging.
I worked on this issue a few years ago and some of the issue details are a
bit fuzzy now but since then I have adopted this pattern and it's always
worked for me.
On Fri, Aug 14, 2009 at 5:16 PM, Julien HENRY wrote:
> After digging into Struts2 code, here
Hi,
I'm following the tutorial here:
http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html
And now I would like to make I18N working.
I added in struts.xml and I have messages.properties and
messages_en.properties in src/main/resources
Then I added some in index.jsp and list
index.jsp :
<%@ page contentType="text/html charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
dojo.event.topic.subscribe("/save", function(data, type, request) {
if(type == "load") {
dojo.byId("id").value = "";
okt.. 2008 kl. 23.15 skrev Julien HENRY <[EMAIL PROTECTED]>:
> index.jsp :
>
> <%@ page contentType="text/html charset=UTF-8"%>
> <%@ taglib prefix="s" uri="/struts-tags"%>
>
>
>
>
>dojo.even
Hi,
Vote for https://issues.apache.org/struts/browse/WW-2849
Regards,
Julien
- Message d'origine
De : Leonard Broman <[EMAIL PROTECTED]>
À : Struts Users Mailing List
Envoyé le : Lundi, 27 Octobre 2008, 9h17mn 45s
Objet : Re: not loading after upgrade to 2.0.12
Was this when upgra
Hi,
Everything is on the Maven central repository:
http://repo2.maven.org/maven2/org/apache/struts/struts2-core/2.0.12/
So you don't need any special configuration in Maven (Maven will automatically
search dependencies in the central).
Regards,
Julien
- Message d'origine
De : Pierr
13 matches
Mail list logo