Thank you for the tutorial.

When I try to serve the application in Spanish or any other language:

$ ng serve --aot \
--i18n-file=src/i18n/messages.es.xlf \
--locale=es \
--i18n-format=xlf

I get the following error:

ERROR in ./src/main.ts
Module not found: Error: Can’t resolve ‘./$$_gendir/app/app.module.ngfactory’ in ‘/home/luisjose/ProyectosGit/angular-aplicacion-multi-idioma/src’
@ ./src/main.ts 4:0–74
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

And I can only see the application in English.

)
Luis José Sánchez

Written by

Profesor en @fpiescampa y CTO en @espiralsoftware #angular #java #programming #vegetarian

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade