Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

i18next-scanner implementation challenges

I have started using react-i18next recently in my react application. I am able to use resource files in the directory to translate strings. But creating resource files with help of i18next-scanner became a challenge as there is no end to end implementation guide for this. I have followed the official documentation. I feel that I am still missing something in implementation. The below CLI command is giving error.

command: i18next-scanner --config src/i18next-scanner.config.js 'src/**/*.{js,jsx}' error: i18next-scanner is not recognized as an internal or external command.

Where do i need to use the standard API in my code?

like image 352
Sindhu G Avatar asked Oct 27 '25 20:10

Sindhu G


1 Answers

Run npx i18next-scanner on the commandline

like image 125
Marcel Mateman Avatar answered Oct 29 '25 13:10

Marcel Mateman