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

Allow users to set preferred locale in settings and provide basic date and time localization support #1226

Conversation

zachgoll
Copy link
Collaborator

@zachgoll zachgoll commented Oct 1, 2024

As outlined in #1225 , we will be supporting currency, date, and time localization in the near-term for a variety of locales.

The approach I have taken in this PR is incremental adoption of various locales.

I have set the config.i18n.fallbacks = true so that all missing keys fall back to the default locale, which is en. This will allow for an incremental adoption of I18n and will allow users to start setting up their preferred locale and get some immediate improvements rather than waiting for an "all or nothing" change.

All locale translations come directly from the official rails-i18n repo as suggested in the docs.

@zachgoll zachgoll merged commit ab40289 into main Oct 2, 2024
4 checks passed
@zachgoll zachgoll deleted the 909-allow-users-to-configure-their-locale-and-provide-a-default-date-format-based-on-locale branch October 2, 2024 18:02
@maybe-finance maybe-finance deleted a comment from sentry-io bot Oct 9, 2024
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.

Allow users to configure their locale and provide a default date format based on locale
1 participant