Is there a way to colocate the translation files with my React components? #2034
-
Similar to css modules, tests, ect... I'd like to add my locale files next to my React components. Imagine some deeply nested directory:
This would be consistent with the general benefits of colocation, and would reduce the complexity of name spacing, key prefixes, general organizational concerns, ects. Is this already possible but I've missed it in the docs? If not, has anyone jerry rigged their own similar solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
not supported from our modules - but that request was also requested by others -> you should be able to find a solution in already closed issues: eg. i18next/react-i18next#299 (comment) |
Beta Was this translation helpful? Give feedback.
not supported from our modules - but that request was also requested by others -> you should be able to find a solution in already closed issues: eg. i18next/react-i18next#299 (comment)