QuiiBz / next-international

Type-safe internationalization (i18n) for Next.js
https://next-international.vercel.app
MIT License
1.25k stars 59 forks source link

fix(international-types): flatten works with dot & object notation #236

Closed QuiiBz closed 10 months ago

QuiiBz commented 10 months ago

Closes https://github.com/QuiiBz/next-international/issues/197

FlattenLocale should work when a locale is using both dot & object notation:

Before After
Screenshot 2023-10-10 at 09 35 05l Screenshot 2023-10-10 at 09 35 28
vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-international ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2023 8:37am