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

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