Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
typesafe-i18n
A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.
For example wouldn't it be better if Svelte has something like https://vueuse.org/ ?
Here's a collection of Svelte thingy that might be helpful for your day-to-day work: https://github.com/vnphanquang/svelte-put
Yeah i18n is very hard to get right. Svelte maintainers started discussing this very early on in svelte kit: https://github.com/sveltejs/kit/issues/553.
typesafe-i18n is a very promising project by Ivan: https://github.com/ivanhofer/typesafe-i18n. I've been wanting to give it a try.
For i18n I used i18next. Here's how I integrated it: https://svelte.dev/repl/c9e87632ada543c8a0780ae8ac603441?version=3.53.1