add weixin translation function