-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
lingui.config.ts
63 lines (61 loc) · 952 Bytes
/
lingui.config.ts
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
57
58
59
60
61
62
63
import type { LinguiConfig } from "@lingui/conf";
const config: LinguiConfig = {
format: "po",
sourceLocale: "en-US",
fallbackLocales: { default: "en-US" },
locales: [
"af-ZA",
"am-ET",
"ar-SA",
"bg-BG",
"bn-BD",
"ca-ES",
"cs-CZ",
"da-DK",
"de-DE",
"el-GR",
"en-US",
"es-ES",
"fa-IR",
"fi-FI",
"fr-FR",
"he-IL",
"hi-IN",
"hu-HU",
"id-ID",
"it-IT",
"ja-JP",
"km-KH",
"kn-IN",
"ko-KR",
"lt-LT",
"ml-IN",
"mr-IN",
"ne-NP",
"nl-NL",
"no-NO",
"or-IN",
"pl-PL",
"pt-BR",
"pt-PT",
"ro-RO",
"ru-RU",
"sr-SP",
"sv-SE",
"ta-IN",
"te-IN",
"th-TH",
"tr-TR",
"uk-UA",
"vi-VN",
"zh-CN",
"zh-TW",
],
catalogs: [
{
include: ["<rootDir>/apps/client/src"],
path: "<rootDir>/apps/client/src/locales/{locale}/messages",
},
],
};
export default config;