aspose file tools
The moose likes Struts and the fly likes How to localize checkboxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to localize checkboxes" Watch "How to localize checkboxes" New topic

How to localize checkboxes

Ed Mahoney

Joined: Sep 19, 2000
Posts: 14
Hi All,
I understand the 'standard' way to use multiboxes. The example is pretty clear, but it strikes me as being impossible to localize. The examples all show the strings hard-coded in the form bean. Which is exactly opposite the intent of putting all your strings in nice, neat properties files that will be automatically swapped for the correct language at run time. How can you access the properties file in your form bean so you populate the String array that you are passing to the multibox?
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
I don't understand? The value of a multibox is purely a behind-the-scenes thing, so there's no need for i18n. The user-elements for the checkbox, such as alt text, title and label can be rendered in the usual, internationalized way. Am I missing something?
- Peter
I agree. Here's the link:
subject: How to localize checkboxes