Language support in timepicker

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    I want to achieve consistent German language support (Beta) in the Grafana GUI.

  • How are you trying to achieve it?
    I switched on German language support in General Settings as admin.

  • What happened?
    Dialogs displayed German names and descriptions very well. Problem: Timepicker time ranges are displayed in English still.

  • What did you expect to happen?
    I expected Timepicker texts to be in German too. Especialle time picker terms are not always ease to understand in English for a non-native user.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No errors received.

  • Did you follow any online instructions? If so, what is the URL?

Check out the following in your grafana config default.ini might help?

# For information on what formatting patterns that are supported

# Default system date format used in time range picker and other places where full time is displayed
full_date = YYYY-MM-DD HH:mm:ss

# Used by graph and other places where we only show small intervals
interval_second = HH:mm:ss
interval_minute = HH:mm
interval_hour = MM/DD HH:mm
interval_day = MM/DD
interval_month = YYYY-MM
interval_year = YYYY

Thanks for the hint. I don’t think it will solve the problem.

Here is a screenshot how the time picker looks:

“Last 5 minutes” should be “Letzte 5 Minuten”
“This month so far” should be “Seit Monatsbeginn”

It would be great if a translation of these terms could be part of the German language support in Grafana 10. If you need help I can make a proposal for the German translation of all the terms - am native German.

1 Like

In that case clone grafana and change the code and build

I dont think grafana is an internationalized application… yet

Understand. Agree. Thx.

1 Like

Just in case, the text displayed in the DateTimePicker can be edited in packages/grafana-ui/src/components/DateTimePickers/options.ts