-
|
Hi, I use I have two locales "en" (default) and "de" and a namespace "backend". Here is an example of how I can access the translations: The output: As you can see, the translation for "de" cannot be loaded from the namespace. Is there something I need to do to get this working, or is this an issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
So you are saying that you have a different behaviour on server vs. cleint? You could call |
Beta Was this translation helpful? Give feedback.
So you are saying that you have a different behaviour on server vs. cleint?
You could call
loadAllLocales()in thehooks.server.tsto make sure everything gets loaded on the server, before accessing any translations. That would be the easiest option.