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
-
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.ts
load
function from themulti-page
app 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-page
sample. I'm now adding a "locale switch" to my navbar. I'm updating thelocale
store exported by my$lib/i18n/translations
. Then I use the storet
in my component.I can see in my
+page.svelte
files that the value of$locale
update. 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