From 4e380a2475850b21efc5bc0ab23f42e6afd48a82 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 23 Nov 2022 18:17:09 +0100 Subject: [PATCH] [v9.3.x] Internationalization: Enable internationalization by default (#59226) Internationalization: Enable internationalization by default (#59204) * Enable internationalization feature flag by default * Change i18n feature to beta * Set i18n feature flag to stable * update features (cherry picked from commit ba0ac08465d4133db837eedbe2dbb070ca279832) Co-authored-by: Josh Hunt --- conf/defaults.ini | 2 ++ pkg/services/featuremgmt/registry.go | 4 ++-- pkg/services/featuremgmt/toggles_gen.go | 2 +- .../core/components/SharedPreferences/SharedPreferences.tsx | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/conf/defaults.ini b/conf/defaults.ini index b071aabd65cc..fb3272e161ca 100644 --- a/conf/defaults.ini +++ b/conf/defaults.ini @@ -1256,6 +1256,8 @@ license_path = # enable = feature1,feature2 enable = +internationalization = true + # feature1 = true # feature2 = false diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 62352cfe6a34..542f9b4a53cf 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -270,8 +270,8 @@ var ( }, { Name: "internationalization", - Description: "Enables work-in-progress internationalization", - State: FeatureStateAlpha, + Description: "Enables internationalization", + State: FeatureStateStable, }, { Name: "topnav", diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 2441a1ab0feb..2af681298cf8 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -196,7 +196,7 @@ const ( FlagDataConnectionsConsole = "dataConnectionsConsole" // FlagInternationalization - // Enables work-in-progress internationalization + // Enables internationalization FlagInternationalization = "internationalization" // FlagTopnav diff --git a/public/app/core/components/SharedPreferences/SharedPreferences.tsx b/public/app/core/components/SharedPreferences/SharedPreferences.tsx index 529577e14248..ac9a89cf6880 100644 --- a/public/app/core/components/SharedPreferences/SharedPreferences.tsx +++ b/public/app/core/components/SharedPreferences/SharedPreferences.tsx @@ -187,7 +187,7 @@ export class SharedPreferences extends PureComponent { Language - + } data-testid="User preferences language drop down"