mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
24 lines
718 B
TypeScript
24 lines
718 B
TypeScript
import type { LinguiConfig } from '@lingui/conf';
|
|
|
|
import { APP_I18N_OPTIONS } from '@documenso/lib/constants/i18n';
|
|
|
|
const config: LinguiConfig = {
|
|
sourceLocale: APP_I18N_OPTIONS.sourceLang,
|
|
locales: APP_I18N_OPTIONS.supportedLangs as unknown as string[],
|
|
// Any changes to these catalogue paths should be reflected in crowdin.yml
|
|
catalogs: [
|
|
{
|
|
path: '<rootDir>/packages/lib/translations/{locale}/web',
|
|
include: ['apps/web/src'],
|
|
exclude: ['**/node_modules/**'],
|
|
},
|
|
{
|
|
path: '<rootDir>/packages/lib/translations/{locale}/common',
|
|
include: ['packages/ui', 'packages/lib', 'packages/email'],
|
|
exclude: ['**/node_modules/**'],
|
|
},
|
|
],
|
|
};
|
|
|
|
export default config;
|