eslint-plugin-i18n-json icon indicating copy to clipboard operation
eslint-plugin-i18n-json copied to clipboard

Add new rule identical-placeholders

Open dhaldar-godaddy opened this issue 2 years ago • 0 comments

  • This PR adds a new rule i18n-json\identical-placeholders to help validate the placeholders / variables used in the translations.
  • A translator who is not very much familiar with the ICU message syntax, may end up changing (translating) the variables themselves, and breaking the string. Or there may be instances where the string is simply too complex and prone for mistakes.
  • This new rule compares any new translations with a reference file ensuring the variables remain the same.

dhaldar-godaddy avatar Apr 13 '22 21:04 dhaldar-godaddy