Allow users to set preferred locale in settings and provide basic date and time localization support #1226
Reference in New Issue
Block a user
Delete Branch "909-allow-users-to-configure-their-locale-and-provide-a-default-date-format-based-on-locale"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 = trueso that all missing keys fall back to the default locale, which isen. 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-i18nrepo as suggested in the docs.