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>
13 lines
267 B
TypeScript
13 lines
267 B
TypeScript
import { defineConfig } from '@lingui/cli';
|
|
|
|
export default defineConfig({
|
|
sourceLocale: 'en',
|
|
locales: ['fr', 'en', 'pt', 'de', 'it', 'es', 'zh'],
|
|
catalogs: [
|
|
{
|
|
path: '<rootDir>/src/locales/{locale}/messages',
|
|
include: ['src'],
|
|
},
|
|
],
|
|
});
|