add  i18n chinese support

add  chinese and remove a duplicate function