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

@ -17,6 +17,7 @@ import { isDefined } from 'twenty-shared';
import { AuthTokenPair } from '~/generated/graphql';
import { logDebug } from '~/utils/logDebug';
import { i18n } from '@lingui/core';
import { GraphQLFormattedError } from 'graphql';
import { ApolloManager } from '../types/apolloManager.interface';
import { loggerLink } from '../utils/loggerLink';
@ -71,7 +72,7 @@ export class ApolloFactory<TCacheShape> implements ApolloManager<TCacheShape> {
: '',
...(this.currentWorkspaceMember?.locale
? { 'x-locale': this.currentWorkspaceMember.locale }
: {}),
: { 'x-locale': i18n.locale }),
},
};
});