You can simply use the jstl fmt tags.
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fmt/message.html
-g
On Oct 15, 2008, at 12:00 PM, Matteo Pelucco wrote:
Hi all!
Maybe this question is another newbie one...
but:
How can I use I18N in my JSPs?
e.g.
I want to add a search button and I want to localize the word
"Search" (Cerca in italian, Search in english)
I have a property file "messages_en.properties" with
dialog.search=Search
and a property file "messages_it.properties" with
dialog.search=Cerca
In a dialog config I simply would add a I18nBaseName with
"my.package.path.message" and then in label, description and so on I
would place something like "dialog.search" to identify property key.
But in JSP or Java?
Are there some classes that does it?
Because I would that with future Magnolia upgrades pages will not
brake into pieces ;-)
Thanks for
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------