From ba0ac08465d4133db837eedbe2dbb070ca279832 Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Wed, 23 Nov 2022 14:23:26 +0000 Subject: [PATCH] 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 --- 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 050437bf0aa..49c4582a280 100644 --- a/conf/defaults.ini +++ b/conf/defaults.ini @@ -1272,6 +1272,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 62352cfe6a3..542f9b4a53c 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 2441a1ab0fe..2af681298cf 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 c5cc50cc4f5..f82808a350e 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"