An Interest In:
Web News this Week
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
April 18, 2024 10:00 am GMT
Original Link: https://dev.to/grech_ca/how-to-debug-i18n-118e
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To