Ivan Hofer - Internationalization in SvelteKit and How to Prevent Mistakes

preview_player
Показать описание
Platinum Sponsor:

Gold Sponsors:

Music By:

Description

A demo on how to setup internationalization in a SvelteKit project using the lightweight library typesafe-i18n.

Repos:

Speaker
Рекомендации по теме
Комментарии
Автор

This video was created with an older version of SvelteKit. Some concepts have changed since then. Click here to see the newest version of the code. Check out the latest code in the repo:

SvelteSociety
Автор

I'm new to Svelte and one of my biggest concerns is how to provide internationalization. Thank you! 👍🏻

tedspens
Автор

Amazing talk & so insanely complete with the code example & video. Works like a charm in my project, thx a bundle!

koencornelis
Автор

This is exactly what I want to achieve, will definitely give it a try, thank you so much for taking of our concerns 🙏

maskman
Автор

Great solution, thanks. Is it possible to remove the display of the prefix in links for the default language?

svalentyn
Автор

Really great talk, thank you! I hope one day we will have Internationalized Routing build in SvelteKit, like it is in React/NextJS. It would be much easier.

cismuz
Автор

Great Talk! I was able to use the latest SvelteKit & your latest repo to get my app i18n ready. What puzzled me: when testing the fallback function at 9:06 in your video I found out that you removed this feature from the repo in favor for api endpoints. But it definetely makes sense this way. I anyway think that a 404 makes more sense than just redirecting the user to the preferred language. Well done!!!

Spansky
Автор

This looks really amazing! Can I use your library with SvelteKit's AdapterStatic? Would that build a version of every page in every language?

crxus
Автор

thank you so much! this is very helpful

chatgpt-phantom
Автор

So this video is completely outdated since it uses typesafe-i18n v2 and we're at v5 now with a lot of breaking changes :O

uNki
Автор

does anybody know why I get this error message within my __layout.svelte file? "Cannot find module '$i18n/i18n-svelte'" THANKS IN ADVANCE

jenslindo