open-saas
open-saas copied to clipboard
Add a default i18n setup
I'm opening this in response to this tweet
Good Internationalisation and Localisation can greatly increase the potential market for a service. If you live / work in a country with multiple languages it may even be a hard requirement. (I live in Switzerland, everything needs 2-4 Languages)
I'm proposing to add a default i18n setup to this template, which would entail:
- Setting up Starlight i18n for the Astro Site
- Setting up i18n for the App
- Use
localStorage
to store the language, since SEO isn't as necessary for the App - Extracting all hard-coded strings from the App & use an i18n library (may I shamelessy promote ParaglideJs)
- Use
I am not proposing to ship the template in multiple languages by default, only to have setup in place to add more languages.
I would be happy to contribute this if you're interested!
Yes please, this would be awesome !
I would be happy to contribute this if you're interested!
This sounds like a great feature. Go ahead and assign yourself @LorisSigrist if you're still willing to take this on 🙏
This is quite interesting. I wonder if it should be a feature at Wasp level at some point. Let's see how this goes, and it might give us some good inspiration for that!
This would be very useful feature.
Lets go
That would be really helpful @LorisSigrist!
I really need multiple languages!
i18n and lemonsqueezy payment required.