How does Jumpstart define the I18n.locale
I was wondering how Jumpstart set the I18n.locale
In module SetLocale, the find_locale method is defined by:
locale_from_params || locale_from_header || locale_from_user || I18n.default_locale
I don't understand why the locale_from_header takes precedence on locale_from_user, IMHO it should be:
locale_from_params || locale_from_user || locale_from_header || I18n.default_locale
Notifications
You’re not receiving notifications from this thread.