Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a default i18n setup #23

Open
LorisSigrist opened this issue Feb 1, 2024 · 4 comments
Open

Add a default i18n setup #23

LorisSigrist opened this issue Feb 1, 2024 · 4 comments
Assignees

Comments

@LorisSigrist
Copy link

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)

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!

@fafournier
Copy link

Yes please, this would be awesome !

@vincanger
Copy link
Collaborator

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 🙏

@Martinsos
Copy link
Member

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!

@ralpholazo24
Copy link

This would be very useful feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants