Fixed the bugs and tested mki18n

Fixed the bugs and tested mki18n