Open BerglundDaniel opened 1 year ago
The frontend automatically chooses the language based on the user's browser's preferred language now. However, there are currently no translations to any other language. So everything is still in English or Swedish, somewhat inconsistently.
Swedish (or any other language) support can be added by editing the translations.tsx
file. And all current hardcoded swedish strings should be defined using the translation system.
Stripe customer object has _preferredlocales which might also be useful to update based on the members language
Perhaps this also needs to adress how the primary language is stored? strings in code vs db or separate files, etc
Add an option for users to select language. Then over time we can add English translations of the pages