fix a bug in i18n init.
Signed-off-by: Daogang Tang <daogangtang@gmail.com>