Not translated on first render #98
Unanswered
barbinbrad
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This is not how it works, check the entry.server config and ensure your i18next instance has the translation JSON files loaded, how you do that can be either by importing them manually or using an i18next backend file the i18next-fs-backend. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to figure out whether this is a bug in my code or "the way it is". I'm guessing I have something wrong in
entry.server.tsx
I have some code in my component like this:
I noticed that on the first render, the html says
displays
instead of the translatedDisplays
. It happens very fast, but here's a video of a video to show the first render:Screen.Recording.2022-09-27.at.6.30.36.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions