I’m trying to make my default language in Next.js i18n but always is getting “En” as default language called like fallback. And I also get this error: Error: [@formatjs/intl Error MISSING_DATA] Missing locale data for locale: “sq” in Intl.NumberFormat. Using default locale: ̶…
Tag: react-intl
How do I extract messages from multiple specific folders with FormatJS CLI?
I have /components/foo.js and /pages/bar.js, both are using <FormattedMessage /> with a different defaultMessage: If I run formatjs extract ‘components/**/*.js’ –out-file lang/en.json I only get messages from my components folder. If instead I use the path pages/**/*.js, I only get mes…