discourse/spec/lib/i18n
Gerhard Schlager ec2f3169ff FIX: Using the `default_locale` in locale fallbacks caused problems
Locale files get precompiled after deployment and they contained translations from the `default_locale`. That's especially bad in multisites, because the initial `default_locale` is `en_US`. Sites where the `default_locale` isn't `en_US` could see missing translations. The same thing could happen when users are allowed to chose a different locale.

This change simplifies the logic by not using the `default_locale` in the locale chain. It always falls back to `en` in case of missing translations.
2020-05-06 22:59:07 +02:00
..
discourse_i18n_spec.rb FIX: Using the `default_locale` in locale fallbacks caused problems 2020-05-06 22:59:07 +02:00
fallback_locale_list_spec.rb FIX: Using the `default_locale` in locale fallbacks caused problems 2020-05-06 22:59:07 +02:00
i18n_interpolation_keys_finder_spec.rb FEATURE: English locale with international date formats 2019-05-20 13:47:20 +02:00