Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 18, 2024 10:00 am GMT

How to debug i18n?

I've worked a lot with i18n in different projects (using i18next, next-intl, etc) and what I always lacked was a playground where I could debug the complex template strings.

It was really annoying to always check the result by refreshing the page, especially when the project is too heavy (like ) to refresh instantly and you have to wait forever for the page to load after adding just a single missing bracket in the template string .

Fortunately, I've made the i18n Playground, a tool where you can debug template strings with less effort as you can select a quick preset and forget about reading the docs over and over again. Currently, it only support messageformat which is commonly used across different i18n libraries.


Original Link: https://dev.to/grech_ca/how-to-debug-i18n-118e

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To