Closed Vishal2002 closed 1 month ago
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.
This shows a lot of potential! Translating server-side messages is something that we've been discussing for a long time. See #1587
This shows a lot of potential! Translating server-side messages is something that we've been discussing for a long time. See #1587
What to do next?
Thanks so much for your work on this!
Due to some of the changes here falling out of date and some of the other features/fixes we'd like to prioritize over the next two months, I'm going to close this pull request for now. I'm really sorry that it took a while to get to this and that we couldn't get this in at the moment, but please feel free to update and reopen this pull request in the future!
Fixes #2860
Changes:
Nav.jsx
component, a backend request is sent to the endpoint/getCurrentLanguage
to store the current language. The language is then changed usingi18n.changeLanguage(language);
.i18nextMiddleware
to capture the language and facilitate mapping errors accordingly.I have verified that this pull request:
npm run lint
)npm run test
)develop
branch.Fixes #2860