« Return to Thread: Selecting a jsp according to locale

Re: Selecting a jsp according to locale

by Dimitris Mouchritsas-3 :: Rate this Message:

Reply to Author | View in Thread

Antonio Petrelli wrote:

> 2008/5/13 Dimitris Mouchritsas <dimitris.mouchritsas@...>:
>  
>> Hi all,
>>  I want to show a system requirements page according to the web page's
>> locale.
>>  Can I use the tiles-defs.xml to do it or I need to write code in a jsp?
>>    
>
> You can use the Tiles-included locale support. You need simply to add
> the locale code in the file name. For example, if you have
> "tiles-defs.xml", you need to create a new "tiles-defs_it_IT.xml" for
> Italian locale, defining only the different definitions.
>
> HTH
> Antonio
>  

Ahh, thanks,  now it works. I guess I wasn't careful when reading the
article and I had named the
file: tiles-defs-it.xml. Now with the underscore it works great! Thanks
once again :)
Dimitris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Selecting a jsp according to locale