Continue Frontend localization (#9909)

Translation more content on the frontend
This commit is contained in:
Félix Malfait
2025-01-29 17:36:28 +01:00
committed by GitHub
parent ce0a6c1b17
commit 9d32e63111
56 changed files with 3187 additions and 1366 deletions

View File

@ -7,8 +7,18 @@ type FeatureFlagMetadata = {
};
export type PublicFeatureFlag = {
key: Extract<FeatureFlagKey, never>;
key: Extract<FeatureFlagKey, FeatureFlagKey.IsLocalizationEnabled>;
metadata: FeatureFlagMetadata;
};
export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [];
export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
{
key: FeatureFlagKey.IsLocalizationEnabled,
metadata: {
label: 'Localization',
description:
"Our community is working on translating the app. Enable this flag and go to Settings > Experience to change your account's language.",
imagePath: '',
},
},
];