Re: Struts2 w/freemarker and internationalization

2012-02-29 Thread Tom Hjellming
Thanks Josep - that works. I thought the ${} notation was equivalent to the <@s> form - but I guess not. thanks, Tom On 2/29/12 12:16 PM, Josep García wrote: Try with: <@s.text name="welcome.message"/> Cheers, Josep 2012/2/29 Tom Hjellming I'm trying to internationalize a simple Struts

Re: Struts2 w/freemarker and internationalization

2012-02-29 Thread Josep García
Try with: <@s.text name="welcome.message"/> Cheers, Josep 2012/2/29 Tom Hjellming > I'm trying to internationalize a simple Struts2-based webapp that uses > Freemarker as the view technology. The usage of freemarker templating > pulling values from the Action object is working fine. > > But

Struts2 w/freemarker and internationalization

2012-02-29 Thread Tom Hjellming
I'm trying to internationalize a simple Struts2-based webapp that uses Freemarker as the view technology. The usage of freemarker templating pulling values from the Action object is working fine. But when I try to leverage Struts2's TextProvider capability via getText(), it doesn't work. My

Re: DisplayTag and Internationalization Lookups

2010-02-22 Thread Lukasz Lenart
2010/2/22 CRANFORD, CHRIS : > Thoughts? Maybe that? http://www.mail-archive.com/displaytag-de...@lists.sourceforge.net/msg03267.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - T

RE: DisplayTag and Internationalization Lookups

2010-02-22 Thread CRANFORD, CHRIS
s column to be shown with "PO Number" and not "PO Number" for English and showing the key value for the German locale. Chris -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Monday, February 22, 2010 10:10 AM To: Struts Users

Re: DisplayTag and Internationalization Lookups

2010-02-22 Thread Lukasz Lenart
Maybe it's related to that https://issues.apache.org/jira/browse/WW-3219 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

DisplayTag and Internationalization Lookups

2010-02-22 Thread CRANFORD, CHRIS
I am using the DisplayTag library with Struts2. In the displaytag.properties file, I had to specify a property as follows: Locale.provider=com.setech.displaytag.I18nWebworkAdapter This class contains the following method: ublic String getResource(String resourceKey, String defaultValue, Tag tag

Re: s2 currency and internationalization

2009-07-23 Thread Bhaarat Sharma
Thanks!! this helps! On Wed, Jul 22, 2009 at 10:08 PM, kaphilmore wrote: > FIXED. If you're trying to sell a product in US dollars and you're selling > internationally, use something similar to this in your resource file. I hope > this helps someone, because it drove me crazy for a day!! > >

Re: s2 currency and internationalization

2009-07-22 Thread kaphilmore
FIXED. If you're trying to sell a product in US dollars and you're selling internationally, use something similar to this in your resource file. I hope this helps someone, because it drove me crazy for a day!! format.money = $ {0,number,#.00} --- In str..

s2 currency and internationalization

2009-07-22 Thread kaphilmore
I'm using S2 for an eCommerce application (with resource files in different languages) and I'd like to display the currency in US only. The problem, when someone using the 'fr' locale comes to the site, the price is displayed as 89,99 instead of 89.99. Is there a way to force it to display as '8

Re: and internationalization

2009-02-10 Thread Ddlc
Found it. In case someone is interested the i18n keys can be found in the javadoc of org.apache.struts2.components.Date -- View this message in context: http://www.nabble.com/%3Cs%3Adate-nice%3D%22true%22-%3E-and-internationalization-tp21932308p21933441.html Sent from the Struts - User mailing

and internationalization

2009-02-10 Thread Ddlc
I love the look of the output of s:date when I use the nice attribute but I was wondering if there is a way to make this tag to show the text in french, spanish, german, ... Thank you very much :) -- View this message in context: http://www.nabble.com/%3Cs%3Adate-nice%3D%22true%22-%3E-and

s:div tag and internationalization

2008-07-30 Thread vasileboris
file: ... får målt ... in displayed result: ... f�r m�lt ... (firefox). If the text is loaded without s:div, it is ok. Thank you, Boris. -- View this message in context: http://www.nabble.com/s%3Adiv-tag-and-internationalization-tp18727898p18727898.html Sent from the Struts - User mailing list archi

Re: LookupDispatchAction and Internationalization

2006-04-05 Thread Michael Jouravlev
On 4/5/06, Karin Schellner <[EMAIL PROTECTED]> wrote: > Hi, > > I am using Struts 1.2.7 with the LookupDispatchAction and everything > works fine, as long as the labels of the buttons (=values of the keys of > the resourcebundles) are not using special characters. If there are > special characters

Re: LookupDispatchAction and Internationalization

2006-04-05 Thread Karin Schellner
Users Mailing List" user@struts.apache.org Cc : Date : Wed, 05 Apr 2006 10:46:12 +0200 Subject : LookupDispatchAction and Internationalization Hi, I am using Struts 1.2.7 with the LookupDispatchAction and everything works fine, as long as the labels of the button

Re:LookupDispatchAction and Internationalization

2006-04-05 Thread starki78
rom : "Karin Schellner" [EMAIL PROTECTED] To : "Struts Users Mailing List" user@struts.apache.org Cc : Date : Wed, 05 Apr 2006 10:46:12 +0200 Subject : LookupDispatchAction and Internationalization > Hi, > > I am using Struts 1.2.7 w

LookupDispatchAction and Internationalization

2006-04-05 Thread Karin Schellner
Hi, I am using Struts 1.2.7 with the LookupDispatchAction and everything works fine, as long as the labels of the buttons (=values of the keys of the resourcebundles) are not using special characters. If there are special characters I get the following error: missing resource 'Hinzuf�' in ke

Re: Struts, Tiles and Internationalization

2005-10-10 Thread Bryon Lape
The current site allows the user to select their language. Plus, I am adding registration so there a user needs to be allowed to select their default language for when they return and log in. Right now we are simply adding Canadian English and French. It is easy enough to see that a coffee house

Re: Struts, Tiles and Internationalization

2005-10-08 Thread Danny Lee
Hi! I thing you don't have to put the language-oriented tags. Just do the normal Struts-Internationalization with applicaition_resources, this technique is independent of using tiles or not and works great. Choosing language manually is another issue. It will work anyway by Struts reading t

Struts, Tiles and Internationalization

2005-10-06 Thread Bryon Lape
A customer of ours has a site that they want to move into Canada. This means every page will need to be translated into Canadan French and abide by Canadian law. Currently, the site is en_US. THe site was built using Struts and Tiles, but the tiles are not defined in Tiles XML, instead there are

Struts Modules and Internationalization

2005-02-07 Thread Tait, Allen
Has anyone used STRUTS modules to segment the International versions of a web site were each site is managed in a separate file structure? This feels like the right approach. How can we hide the various contexts from the user (i.e. want www.mysite.com/productpage

Re: Struts Tiles and Internationalization

2004-10-29 Thread Christian Hesse
Thank you very much, it works fine! "Struts Users Mailing List" <[EMAIL PROTECTED]> schrieb am 27.10.04 11:30:26: > > You can put what ever you like in the tile attributes. I store the > resource keys so that they can be looked up depending on locale. > > Example - using a welcome page and a v

Re: Struts Tiles and Internationalization

2004-10-27 Thread Scott Piker
It's actually pretty straightforward. Just define a "title" attribute in your tiles-defs, as you would any other attribute. Override it for each page that requires a different title. For example: tiles-defs.xml: *

Re: Struts Tiles and Internationalization

2004-10-27 Thread Jason Lea
You can put what ever you like in the tile attributes. I store the resource keys so that they can be looked up depending on locale. Example - using a welcome page and a view shopping cart page In your tiles definition welcome page: ... shopping cart page: ... In your template p

Struts Tiles and Internationalization

2004-10-27 Thread Christian Hesse
Hi all! I have a small problem: I am creating a web-application with struts, which contains many jsp-pages. At the moment I use the concept copy & pasting the layout into each page. I read much about including parts by jsp-commands, templates and tiles and try to use tiles. But I do have one b

SV: HTML:TEXT tag and Internationalization

2004-08-24 Thread hermod . opstvedt
Hi Yeah, but why invent something new every time when the framework can do it for you ? -Opprinnelig melding- Fra: Jim Barrows [mailto:[EMAIL PROTECTED] Sendt: 24. august 2004 18:47 Til: Struts Users Mailing List Emne: RE: HTML:TEXT tag and Internationalization > -Origi

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread bmf5
ent: Tuesday, August 24, 2004 10:09 AM > To: Struts Users Mailing List > Subject: RE: HTML:TEXT tag and Internationalization > > > > > > > >>you could format them yourself, either in the setter > (yuck), or in the > action. > > Why not in the setter? Some

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 10:09 AM > To: Struts Users Mailing List > Subject: RE: HTML:TEXT tag and Internationalization > > > > > > > >>you could format th

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread bmf5
CTED] > > Sent: Tuesday, August 24, 2004 4:38 AM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: HTML:TEXT tag and Internationalization > > > > > > Hi > > > > Is there any reasonable argument as to why the html:text tag uses > > default

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 4:38 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: HTML:TEXT tag and Internationalization > > > Hi > > Is there any reasonable argument as

HTML:TEXT tag and Internationalization

2004-08-24 Thread hermod . opstvedt
Hi Is there any reasonable argument as to why the html:text tag uses default (value.toString()) formating, while the bean:write uses a formatter that is I18N aware. This is really anoying for locales that normally use comma as a decimal seperator. If you output the value with bean:write it will lo