79455289

Date: 2025-02-20 17:06:50
Score: 0.5
Natty:
Report link

This isn't really an answer, it's more like a workaround, but here's how I eventually got it to work:

Instead of using the "FSBackend{FSBackendOptions{}}" nodes, I simply went with the standard "backend" node in the .init method. That seems to have solved the problem.

i18next 
.use(FSBackend)
.init({
lng='en'
    backend:{loadPath: "C:\Users\myuserpath\OneDrive - MyStuff\QA-Automation\locales\en\NAMESPACEFILE.page.json",},
 }

This may be a bug or issue with the FSBackend or the FSBackendOptions. I will have to research it a little more and see if others are experiencing the issue, and perhaps file a bug report.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Christian Gibbs