Skip to content

Commit 838391c

Browse files
authored
I18n: Prepare locale format for preview (#108501)
* Promote toggle to public preview * disable RTL locales * update badge on prefs page to preview
1 parent 89c664d commit 838391c

File tree

6 files changed

+178
-36
lines changed

6 files changed

+178
-36
lines changed

docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
107107
| `elasticsearchCrossClusterSearch` | Enables cross cluster search in the Elasticsearch datasource |
108108
| `alertRuleRestore` | Enables the alert rule restore feature |
109109
| `azureMonitorLogsBuilderEditor` | Enables the logs builder mode for the Azure Monitor data source |
110+
| `localeFormatPreference` | Specifies the locale so the correct format for numbers and dates can be shown |
110111
| `logsPanelControls` | Enables a control component for the logs panel in Explore |
111112

112113
## Development feature toggles

pkg/services/featuremgmt/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ var (
15641564
{
15651565
Name: "localeFormatPreference",
15661566
Description: "Specifies the locale so the correct format for numbers and dates can be shown",
1567-
Stage: FeatureStageExperimental,
1567+
Stage: FeatureStagePublicPreview,
15681568
Owner: grafanaFrontendPlatformSquad,
15691569
},
15701570
{

pkg/services/featuremgmt/toggles_gen.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ alertingMigrationUI,GA,@grafana/alerting-squad,false,false,true
203203
alertingImportYAMLUI,GA,@grafana/alerting-squad,false,false,true
204204
unifiedStorageHistoryPruner,GA,@grafana/search-and-storage,false,false,false
205205
azureMonitorLogsBuilderEditor,preview,@grafana/partner-datasources,false,false,false
206-
localeFormatPreference,experimental,@grafana/grafana-frontend-platform,false,false,false
206+
localeFormatPreference,preview,@grafana/grafana-frontend-platform,false,false,false
207207
unifiedStorageGrpcConnectionPool,experimental,@grafana/search-and-storage,false,false,false
208208
extensionSidebar,experimental,@grafana/observability-logs,false,false,true
209209
alertingRulePermanentlyDelete,GA,@grafana/alerting-squad,false,false,true

pkg/services/featuremgmt/toggles_gen.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,12 +1854,15 @@
18541854
{
18551855
"metadata": {
18561856
"name": "localeFormatPreference",
1857-
"resourceVersion": "1750434297879",
1858-
"creationTimestamp": "2025-03-31T13:59:07Z"
1857+
"resourceVersion": "1753261256848",
1858+
"creationTimestamp": "2025-03-31T13:59:07Z",
1859+
"annotations": {
1860+
"grafana.app/updatedTimestamp": "2025-07-23 09:00:56.848352786 +0000 UTC"
1861+
}
18591862
},
18601863
"spec": {
18611864
"description": "Specifies the locale so the correct format for numbers and dates can be shown",
1862-
"stage": "experimental",
1865+
"stage": "preview",
18631866
"codeowner": "@grafana/grafana-frontend-platform"
18641867
}
18651868
},

public/app/core/components/SharedPreferences/SharedPreferences.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export class SharedPreferences extends PureComponent<Props, State> {
342342
<span className={styles.labelText}>
343343
<Trans i18nKey="shared-preferences.fields.locale-preference-label">Region format</Trans>
344344
</span>
345-
<FeatureBadge featureState={FeatureState.experimental} />
345+
<FeatureBadge featureState={FeatureState.preview} />
346346
</Label>
347347
}
348348
description={t(

0 commit comments

Comments
 (0)