Change the default language of Galaxy

It is well-known that Galaxy comes with built-in i18n multi-language support. However, by default, it still displays the interface in English when first opened, and a page refresh is required to display the language set in the browser. Is there any way to set the default language of Galaxy to ‘es’ or ‘zh’ instead of ‘en’?

Thank you very much.

Do you mean for a specific server? Yes, that should be configurable by an administrator here:

Thank you very much for your guidance, but may I ask how to set this up specifically in my local Galaxy instance? I have struggled to find more information on this in Galaxy’s issues and on the platform itself.

It should only require a change like the following in your galaxy.yml

1074   # Default localization for Galaxy UI. Allowed values are listed at the
1075   # end of client/src/nls/locale.js. With the default value (auto), the
1076   # locale will be automatically adjusted to the user's navigator
1077   # language. Users can override this settings in their user preferences
1078   # if the localization settings are enabled in
1079   # user_preferences_extra_conf.yml
1080   default_locale: fr

Note that this sets a server default but does not override user browser or preference settings. That is, if I have my browser set to es, that’s what I’m going to get even if the server is changed to something else.

To override user browser preferences would require a change (and is probably not a great idea?).

1 Like