-
|
Hi! I recently discovered the source code for the calculator was public and started experimenting a bit with it for a Pokemon-based D&D game. Everything works just fine, but for some reason I get the next warning: es has unused translation: types.plasma I have edited both public/locales/es and translations/es, as well as public/locales/en and translations/en and the warning keeps popping up everytime after starting the calculator (with npm start). How can I fix that?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
This is currently part of the vite.config.ts It says Since I write everything natively in English, I consider English to have 100% coverage for translations. If any other languages has more translations than English, I consider this a mistake. So in your case, this means that You can fix this error by updating |
Beta Was this translation helpful? Give feedback.

This is currently part of the vite.config.ts
It says
es 195 vs en 189which means that you have 195 Spanish translations but only 189 English translationsSince I write everything natively in English, I consider English to have 100% coverage for translations. If any other languages has more translations than English, I consider this a mistake.
So in your case, this means that
types.plasmahas a translations in Spanish (es) but not in English (en).You can fix this error by updating
public/locales/en.jsonwith the missing translations, or you can disable the warnings invite.config.ts