After successfully implementing i18next and angular-i18next for internationalization across my application, I encountered an issue with translating a pop-up using angular-toastify. The code that needs translation is within a ts.file - how can I achieve the i18next translation in this case?
Here is my package.lock containing the code for translation:
"dependencies": {
"@angular/animations": "~10.1.6",
...
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1001.7",
...
}
The go.ts file contains the following code snippet:
if (state === true)
this._toastService.success("Let's gooo");
else {
this._toastService.warn("warning - must be checked");
}
Thank you