Replies: 1 comment
-
|
It appears that the issue was a silly mistake. I redirected two languages to the same JSON file... /palmface |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using this lib, seems to be a bit too powerful for my very simple use case. But nevertheless, great work.
After facing issue of translation being ok at loading then disappear just after... Turn out, I just did not grab the
/routes/+layout.tsloadfunction from themulti-pageapp example (my use case).I'm now facing another issue, where after hours of troubleshooting, I can't figure it by my own. I'd define my app as a close copy of the
multi-pagesample. I'm now adding a "locale switch" to my navbar. I'm updating thelocalestore exported by my$lib/i18n/translations. Then I use the storetin my component.I can see in my
+page.sveltefiles that the value of$localeupdate. But the text of my app$t('...')does not update. Any idea on what piece I am missing ?Thanks in advance for any help, very much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions