Add logged out translations (#9983)

Add translation for logged in / sub pages
This commit is contained in:
Félix Malfait
2025-02-03 22:00:54 +01:00
committed by GitHub
parent 351e768038
commit 7a0f2f8c0a
46 changed files with 1505 additions and 600 deletions

View File

@ -8,7 +8,6 @@ import { useUpdateOneRecord } from '@/object-record/hooks/useUpdateOneRecord';
import { Select } from '@/ui/input/components/Select';
import { useRefreshObjectMetadataItems } from '@/object-metadata/hooks/useRefreshObjectMetadataItem';
import { i18n } from '@lingui/core';
import { useLingui } from '@lingui/react/macro';
import { APP_LOCALES, isDefined } from 'twenty-shared';
import { dynamicActivate } from '~/utils/i18n/dynamicActivate';
@ -124,7 +123,7 @@ export const LocalePicker = () => {
dropdownId="preferred-locale"
dropdownWidthAuto
fullWidth
value={i18n.locale}
value={currentWorkspaceMember.locale}
options={localeOptions}
onChange={(value) =>
handleLocaleChange(value as keyof typeof APP_LOCALES)