Skip to content

Correct way to use translations in SSR #1643

Answered by isaachinman
bostrom asked this question in Q&A
Discussion options

You must be logged in to vote

Are you able to consume the global i18n instance?

import { i18n } from 'next-i18next'

i18n.t('my-namespace:my-key')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bostrom
Comment options

Answer selected by bostrom
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