You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Rustad, Aaron" <AR...@Online-can.com> on 2002/03/01 19:05:29 UTC

RE: Is html:html locale attribute needed for internationalisation ?

You don't absolutely need it, but it may help in some instances of
internationalization....read the synopsis at:

http://www.w3.org/TR/html4/struct/dirlang.html#adef-lang

It list where you might need to use something like that.

Aaron.

-----Original Message-----
From: JEWeaver@thoughtworks.com [mailto:JEWeaver@thoughtworks.com]
Sent: March 1, 2002 10:29 AM
To: Struts Users Mailing List
Subject: Is html:html locale attribute needed for internationalisation?



Have a struts app that is going to be internationalised this year.

In a quick spike, I added an application resources file for a new
country/language, deployed the app, and accessed it with several different
browsers.  I'd set these browsesr so their preferred country/language was
the new non-english one.  Worked like a champ - data came out of the
appropriate file from the bean:message tags.

The thing that confuses me is, I'm not using the html:html struts tag.  The
templates all have a straight vanilla non-struts <html> at the top.  So
what is the struts <html:html locale="true"> needed for?  What is the
potential difference in behavior I will get if I use that tag?


Jim Weaver
Software Developer - ThoughtWorks


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>