Skip to content

Commit

Permalink
[v9.3.x] Internationalization: Enable internationalization by default (
Browse files Browse the repository at this point in the history
…grafana#59226)

Internationalization: Enable internationalization by default (grafana#59204)

* Enable internationalization feature flag by default

* Change i18n feature to beta

* Set i18n feature flag to stable

* update features

(cherry picked from commit ba0ac08)

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
  • Loading branch information
2 people authored and GuaYounesPW committed Feb 8, 2023
1 parent 0f56ce0 commit 4e380a2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions conf/defaults.ini
Expand Up @@ -1256,6 +1256,8 @@ license_path =
# enable = feature1,feature2
enable =

internationalization = true

# feature1 = true
# feature2 = false

Expand Down
4 changes: 2 additions & 2 deletions pkg/services/featuremgmt/registry.go
Expand Up @@ -270,8 +270,8 @@ var (
},
{
Name: "internationalization",
Description: "Enables work-in-progress internationalization",
State: FeatureStateAlpha,
Description: "Enables internationalization",
State: FeatureStateStable,
},
{
Name: "topnav",
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/featuremgmt/toggles_gen.go
Expand Up @@ -196,7 +196,7 @@ const (
FlagDataConnectionsConsole = "dataConnectionsConsole"

// FlagInternationalization
// Enables work-in-progress internationalization
// Enables internationalization
FlagInternationalization = "internationalization"

// FlagTopnav
Expand Down
Expand Up @@ -187,7 +187,7 @@ export class SharedPreferences extends PureComponent<Props, State> {
<span className={styles.labelText}>
<Trans i18nKey="shared-preferences.fields.locale-label">Language</Trans>
</span>
<FeatureBadge featureState={FeatureState.alpha} />
<FeatureBadge featureState={FeatureState.beta} />
</Label>
}
data-testid="User preferences language drop down"
Expand Down

0 comments on commit 4e380a2

Please sign in to comment.