And as zh_CN do, FormInputApplication.init() should add below code for font:
protected void init()
{
//...
//for zh_TW locale (Tranditional Chinese, Taiwan)
Font fontTW = new Font("MingLiu", Font.BOLD, 16);
DefaultButtonImageResource imgSaveTW = new DefaultButtonImageResource("\u5132\u5B58");
imgSaveTW.setFont(fontTW);
DefaultButtonImageResource imgResetTW = new DefaultButtonImageResource("\u91CD\u7F6E");
imgResetTW.setFont(fontTW);
getSharedResources().add("save", Locale.TAIWAN, imgSaveTW);
getSharedResources().add("reset", Locale.TAIWAN, imgResetTW);
}
and in FormInput, add Locale.TAIWAN to LOCALES:
private static final List LOCALES = Arrays.asList(new Locale[] { Locale.ENGLISH,
new Locale("nl"), Locale.GERMAN, Locale.SIMPLIFIED_CHINESE, Locale.TAIWAN });
On 4/21/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> 3:
> FormInput_zh_CN.html is not completely translated to chinese.
> and , I don't like the current style it used to present chinese:
> 使用地点
>
> generally, I write html file in utf8 encoding , then I can directly enter
> chinese , and it seems more friendly.
Agreed. We didn't do that as CVS only had the choice for ASCII or
binary. I just comitted your file (reply to another thread,
FormInput_zh_CN.html), which seems to work fine now. Much nicer to
work like that.
Eelco
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
FormInput_zh_TW.IamZip
Description: Binary data
