I want a select box to display localized values (the values are: once, daily, weekly). I want these values to be displayed in different languages for different users. I'm already using the fmt tag to display localized messages on the site.
In the resouce file containing the translations I have this (I do of cource have the corresponding files for the other languages): Global.Frequency.Once=Once Global.Frequency.Daily=Daily Global.Frequency.Weekly=Weekly
I've tried something like this (frequencies contains the values: Once, Daily, Weekly). But it failes because the fmt tag doesn't seem to accept expressions in the key. What I'm trying to do is to make the key for the fmt tag "Global.Frequency.Once", "Global.Frequency.Daily", "Global.Frequency.Weekly".
Any suggestions on how to solve something like this would be greatly apprechiated?
Best regards, Mattias [ August 26, 2007: Message edited by: Mattias Ahlin ]
Best regards,<br />Mattias
Joined: May 31, 2006
I used: <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>