Skip to content
Discussion options

You must be logged in to vote

Ideally, you should only import the specific translations you need once, for example in the same file where you define your schemas. If you define your schemas on a per-route level, you should check that the translations are loaded correctly due to code splitting. There's no real harm in importing the translations more than once, so don't worry too much about it. But if you can only import them once, it's of course better. If a translation is imported twice, they will just overwrite each other.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stefanprobst
Comment options

@fabian-hiller
Comment options

Answer selected by stefanprobst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants