Set up localization with feature flag control (#9649)

Refers #8128 

Changes Introduced:
- Added i18n configuration.
- Added a feature flag for localization.
- Enabled language switching based on the flag.

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
Anne Deepa Prasanna
2025-01-17 01:30:56 +05:30
committed by GitHub
parent b81ffcc77c
commit f44b31573a
38 changed files with 912 additions and 79 deletions

View File

@ -8,4 +8,4 @@
"http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","en-US","/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:38:02.518","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","en-US","/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:41:11.844","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/profile","en-US","/settings/profile","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:41:23.864","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/appearance","en-US","/settings/appearance","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:41:25.972","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/experience","en-US","/settings/experience","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:41:25.972","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"

1 href locale pathname referrer sessionId timeZone timestamp userAgent userId version workspaceId
8 http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d en-US /settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:38:02.518 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
9 http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d en-US /settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:41:11.844 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
10 http://localhost:3001/settings/profile en-US /settings/profile http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:41:23.864 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
11 http://localhost:3001/settings/appearance http://localhost:3001/settings/experience en-US /settings/appearance /settings/experience http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:41:25.972 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419