79390883

Date: 2025-01-27 13:06:00
Score: 0.5
Natty:
Report link

Simply configure your i18next to specify the separator

i18next.init({ 
    keySeparator: '.',
    pluralSeparator: '.',
    compatibilityJSON: 'v4'
});

Then you can just use t('reports', {count: 1}) with the following structure

"reports": {
   "one": "report",
   "other": "reports", 
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chawki Messaoudi