Fix googlecode Issue 417: register the IME to zh_CN/zh_TW locale according to user selection on first installation.