4 ms·
Yea...Angular made a huge (and hardly documented) change to their internationalization library that forced us to migrate to a third-party one. Basically, they
by FinalBriefing 5y ago
Yea...Angular made a huge (and hardly documented) change to their internationalization library that forced us to migrate to a third-party one.
Basically, they now (as of Angular 12) force you to build a difference version of your app for each language you support, and either serve them up at different URLs or use cookies to serve up the right version to each user. The technical reasons make sense...your translations occur at build-time, rather than at run-time, but it's a pretty drastic change that occurred out of nowhere.
Not a fan.
- ipaddr 5y agoHardcoding a language variable into multiple builds?
- tlrobinson 5y agoAre you required to use Angular’s i18n support for some reason? I use ttag (https://ttag.js.org https://ttag.js.org) with React and like it. I don’t see any reason you couldn’t use it (or another library) with Angular.
- oblio 5y agoAngular tries to be a 1 stop shop and internationalization is a major feature.
- tlrobinson 5y agoThat doesn’t necessarily mean you have to use it.