add locales directory and rebuild_i18n script
add more test