-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlingui.config.ts
More file actions
41 lines (40 loc) · 763 Bytes
/
Copy pathlingui.config.ts
File metadata and controls
41 lines (40 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// @ts-check
/** @type {import('@lingui/conf').LinguiConfig} */
const linguiConfig = {
catalogs: [
{
path: '<rootDir>/packages/locales/{locale}',
include: ['<rootDir>/apps', '<rootDir>/packages'],
exclude: ['**/node_modules/**'],
},
],
compileNamespace: 'cjs',
fallbackLocales: {
default: 'en-US',
},
format: 'po',
formatOptions: {
lineNumbers: false,
},
locales: [
'af-ZA',
'ar-SA',
'ca-ES',
'de-DE',
'en-US',
'es-ES',
'fr-FR',
'it-IT',
'ja-JP',
'ko-KR',
'ru-RU',
'zh-CN',
'zh-TW',
],
orderBy: 'messageId',
rootDir: '.',
runtimeConfigModule: ['@lingui/core', 'i18n'],
sourceLocale: 'en-US',
pseudoLocale: 'pseudo',
}
export default linguiConfig