Closed uendar closed 4 years ago
This module is deprecated, please have a look at i18next-http-backend and this example: https://github.com/i18next/i18next-http-backend/blob/master/example/node/app.js
I think you don't need to define the request option at all...
I am trying to get my translation from and api endpoint and the code i have is:
The function getTransaltions() returns json data. Now my question is what i need other in configuration to make it work and read my translations in code.
for example
{t('dashboard.title')}