Re: how to build an multi lingual website

2009-05-11 Thread George Sexton
Christopher Schultz wrote: <%=rb.getString("Date")%> Heh, I hope you use a Locale-specific date format otherwise you'll confuse a lot of people. ;) I think I have this down. You can check: http://www.mhsoftware.com/caldemo/ and let me know... -- George Sexton MH Software, Inc. Voice: +1

Re: how to build an multi lingual website

2009-05-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 5/11/2009 5:30 PM, George Sexton wrote: > Another way of doing this is to use resource bundles. It's uglier in > some ways, but better in other ways. The OP said he was using mostly static content, so I think the redirection based upon Acc

Re: how to build an multi lingual website

2009-05-11 Thread George Sexton
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 5/7/2009 3:35 PM, Andrew Davidson wrote: My main website is in English. I want to have a landing page in Spanish that describes my website and invites the user to click through the English version of the web

Re: how to build an multi lingual website

2009-05-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, On 5/7/2009 3:35 PM, Andrew Davidson wrote: > My main website is in > English. I want to have a landing page in Spanish that describes my website > and invites the user to click through the English version of the web site. > Any idea how I set

Re: how to build an multi lingual website

2009-05-07 Thread Andre-John Mas
If Apache is handling your static content, and you are simply using Tomcat to serve dynamic content, then you can use the request.getLocale() method to find out what language the visitors browser is suggesting. For example: String lang = request.getLocale().getLanguage(); if ( "es".eq

how to build an multi lingual website

2009-05-07 Thread Andrew Davidson
Hi I do you know how I can build a multi lingual website? My main website is in English. I want to have a landing page in Spanish that describes my website and invites the user to click through the English version of the web site. Any idea how I set this up using Tomcat? The bulk of our web si