Using django's internationalization (i18n) #355
-
Is there any way to leverage django's i18n? I know about https://docs.djangoproject.com/en/5.0/topics/i18n/translation/#internationalization-in-javascript-code but I'm curious if it applies here or if there are any other methods? Thank you for the time and project! |
Beta Was this translation helpful? Give feedback.
Answered by
silviogutierrez
Apr 18, 2024
Replies: 1 comment 2 replies
-
Since most things are rendered by React templates, I don't think it's possible. However, that also means you can use the React ecosystem. And that may be even more powerful: https://react.i18next.com |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
silviogutierrez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since most things are rendered by React templates, I don't think it's possible.
However, that also means you can use the React ecosystem. And that may be even more powerful:
https://react.i18next.com
https://formatjs.io/docs/react-intl/