Can I set the language with configuration file like 'grafana.ini'?

Hello, I want to set the language ‘Administration.General.Default preferences.Language’ to 中文

Can I done this by grafana.ini? (or by api without manual operation)

default_language
This option will set the default UI language if a supported IETF language tag like en-US is available. If set to detect, the default UI language will be determined by browser preference. The default is en-US.

1 Like

I have been set the language to

# Default UI language (supported IETF language tag, such as en-US)
default_language = zh-CN

but it didnt work.

Set it in UI manually is work. :sob:

Try:

default_language = zh-Hans