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 i18n example #449

Merged
merged 1 commit into from
Sep 15, 2023
Merged

add i18n example #449

merged 1 commit into from
Sep 15, 2023

Conversation

rperon
Copy link
Contributor

@rperon rperon commented Sep 15, 2023

i18n integration using i18next and remix-i18next. Language is detected by the browser, I added a dropdown menu to change the language and this value is saved inside a cookie. There is multiple way to save the user language, I started with cookie as it was easy but it can be change depending on feedback.
I was also wondering if I should create test in French, maybe the switch-language ?

Checklist

  • Tests updated
  • Docs updated

Screenshots

Screenshot 2023-09-15 at 10 51 40

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Thank you!

@kentcdodds kentcdodds merged commit 993d4d9 into epicweb-dev:main Sep 15, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants