AdventOfProgress Day 02

Day 2 of #AdventOfProgress has translations as the main topic. I want the app to support at least German and English.

Because I'm already quite familiar with next-intl, I've chosen react-i18next as the internationalization tool for this app. Which worked quite nicely. And the API looks quite similar to next-intl.

Not much to say here. I've spent around 1 hr implementing this. A big chunk of the time was wasted on a dynamic import, where I tried, out of muscle memory, to dynamically load the JSON files with the translations. Implementing dynamic loading of languages has, at this state of the app, no real impact. So I ditched dynamic loading in favor of statically loading the 2 languages.

That's it for today.


60 of #100DaysToOffload
#log #AdventOfProgress
Thoughts? Discuss...