I am trying to localize select's option. Do I have to load several lists,
which represent a different language? That's too complicated.

e.g.  
<option value="1">day</option>
<option value="7">week</option>
<option value="30">month</option>
<option value="365">year</option>

to 

<option value="1">天</option>
<option value="7">周</option>
<option value="30">月</option>
<option value="365">年</option>



I read Sven Meier's post, which is helpful, but didn't solve the problem
completely.
http://apache-wicket.1842946.n4.nabble.com/Internationalizing-a-DDC-td1869877.html

Without ChoiceRender wicket set value list to 0, 1, 2, 3 ... ...

e.g.

properties file:

inputForm.period.1=天
inputForm.period.7=周
inputForm.period.30=月
inputForm.period.365=年

output html:

<option value="0">天</option>
<option value="1">周</option>
<option value="2">月</option>
<option value="3">年</option>


So, did I miss something? or there is another approach? I am struggling with
the problem. 

Any help I will be really appreciated.

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/localize-options-DropDownChoice-tp2281778p2281778.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to