ruby-gettext / gettext

Gettext gem is a pure Ruby Localization(L10n) library and tool which is modeled after the GNU gettext package.
https://ruby-gettext.github.io/
69 stars 28 forks source link

Locale fallback if missing translation (ex: `en_US` => `en`) #90

Closed MichaelHoste closed 2 years ago

MichaelHoste commented 2 years ago

This feature was discussed on #89

The implementation suggestion of @kou was spot-on, I just added some tests to make sure it works.

kou commented 2 years ago

Thanks!