fix i18n bug and precompile assets