Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Setting a Default UI Language #19901

Open
thiagodeschamps opened this issue Feb 20, 2025 · 1 comment
Open

Add Support for Setting a Default UI Language #19901

thiagodeschamps opened this issue Feb 20, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@thiagodeschamps
Copy link

Is your feature request related to a problem? Please describe.
I’m finding it frustrating that there is currently no way to set a default UI language at the system level in OpenMetadata. Although individual users can change their language preferences, this is cumbersome for organizations operating in non-English environments. Every new or existing user must configure their language preferences independently, which creates inconsistencies and extra administrative overhead.

Describe the solution you’d like
A global configuration option that allows administrators to define a default language for all users. This would mean:

  • Administrators can specify the default language in a configuration file, UI, environment variable, or database setting.
  • Newly created users (or those who haven’t specified a language) automatically see the UI in the default language.
  • Users would still have the option to override the default language if they need to.

Describe alternatives you’ve considered

  1. Manual Setup for Each User
    • Currently, each user must manually change their UI language, which is not scalable for larger teams or organizations.
  2. Custom Scripts/Workarounds
    • Attempting to automate language settings outside the official configuration leads to potential maintenance headaches and may break with future updates.

Additional context

  • This feature would streamline deployments in non-English locales and ensure a consistent, localized experience for all users.
  • A screenshot of the Slack conversation discussing this request is attached for reference (see above image).
@thiagodeschamps thiagodeschamps added the enhancement New feature or request label Feb 20, 2025
@jgrocha
Copy link
Contributor

jgrocha commented Feb 24, 2025

Hi @thiagodeschamps,

Did you test this on recent OpenMetadata deploy? Please consider the PR #19418, landing on OM about a month ago.

  1. The default language defined by the user in the browser is respected. No need to setup individual users. They will have their default language.

Please try: https://sandbox-beta.open-metadata.org/signin. In which language OM is displayed? If it not displayed in Portuguese, check your browser' default language.

For me, for example, the page is in Portuguese.

Image

  1. As admin, you can setup a redirect using a query parameter lng=fr-FR. All users will start with the fr-FR language, for example.

Please try: https://sandbox-beta.open-metadata.org/signin?lng=fr-FR. In which language OM is displayed?

The OM should be rendered in French.

Image

  1. As admin, you can also add/force the i18next cookie. Check how to do it with your current httpd server.

This mechanism provides a localized experience for all non-English users (if the language is already supported) out of the box.

Is this ok for you? How can he help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants