Skip to content

Text content did not match #74

Answered by sergiodxa
binajmen asked this question in Q&A
Jun 16, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

This happens because you didn't loaded the same translations on the server and the client, ensure since you're using a $lang route to detect the user language, you should not detect it using i18n.getLocale because that will not respect the URL, it will read it from your search params, session, cookie or headers.

You either use i18n.getLocale or use the params on the URL.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@binajmen
Comment options

@binajmen
Comment options

@sergiodxa
Comment options

@binajmen
Comment options

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