Use `User#preferred_language` language as default
Instead of using `Gitlab::I18n::AVAILABLE_LANGUAGES` order to define the user default language in the UI, use the `User#preferred_language`. `User#preferred_language` is set by default with `I18n.default_locale`.
Showing
Please register or sign in to comment