forked from cowprotocol/cowswap
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlingui.config.ts
More file actions
56 lines (55 loc) · 978 Bytes
/
lingui.config.ts
File metadata and controls
56 lines (55 loc) · 978 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
const linguiConfig = {
catalogs: [
{
path: '<rootDir>/apps/cowswap-frontend/src/locales/{locale}',
include: ['<rootDir>/apps', '<rootDir>/libs'],
},
],
fallbackLocales: {
default: 'en-US',
},
format: 'po',
formatOptions: {
lineNumbers: false,
},
locales: [
// 'af-ZA',
// 'ar-SA',
// 'ca-ES',
// 'cs-CZ',
// 'da-DK',
// 'de-DE',
// 'el-GR',
'en-US',
'es-ES',
// 'fi-FI',
// 'fr-FR',
// 'he-IL',
// 'hu-HU',
// 'id-ID',
// 'it-IT',
// 'ja-JP',
// 'ko-KR',
// 'nl-NL',
// 'no-NO',
// 'pl-PL',
// 'pt-BR',
// 'pt-PT',
// 'ro-RO',
'ru-RU',
// 'sr-SP',
// 'sv-SE',
// 'sw-TZ',
// 'tr-TR',
// 'uk-UA',
// 'vi-VN',
// 'zh-CN',
// 'zh-TW',
'pseudo',
],
orderBy: 'messageId',
runtimeConfigModule: ['@lingui/core', 'i18n'],
sourceLocale: 'en-US',
pseudoLocale: 'pseudo',
}
export default linguiConfig