News for hackers. Stuff that matters.
Re:Vue 3 as the New Default by oblio on Monday February 07, 2022 @05:31PM (#30252307)
How is internationalization?

Last I asked, it was still a tire fire, even after more than a dozen versions and after a fully mature previous framework that was replaced :-(

Re:Vue 3 as the New Default by FinalBriefing on Monday February 07, 2022 @05:45PM (#30252477)
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.

Re:Vue 3 as the New Default by tlrobinson on Monday February 07, 2022 @07:16PM (#30253410)
Are you required to use Angular’s i18n support for some reason?

I use ttag (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.

Re:Vue 3 as the New Default by oblio on Tuesday February 08, 2022 @06:14AM (#30257129)
Angular tries to be a 1 stop shop and internationalization is a major feature.
Re:Vue 3 as the New Default by tlrobinson on Saturday February 12, 2022 @11:53AM (#30314180)
That doesn’t necessarily mean you have to use it.
Re:Vue 3 as the New Default by ipaddr on Monday February 07, 2022 @08:17PM (#30253829)
Hardcoding a language variable into multiple builds?