Skip to content

Commit 269f36e

Browse files
committed
i18n: Copy language names from Crowdin
1 parent 8462b20 commit 269f36e

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

src/app/translate.tsx

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,31 @@ import defaultTranslations from "@/i18n/translations.en.json";
55
import classes from "@/components/header.module.css";
66

77
const languages = {
8-
en: "English",
9-
es: "Español",
10-
// ...
8+
en: "English (United States)",
9+
ar: "العربية",
10+
ca: "Català",
11+
"zh-CN": "简体中文",
12+
"zh-TW": "繁體中文",
13+
cs: "Čeština",
14+
nl: "Nederlands",
15+
fr: "Français (France)",
16+
de: "Deutsch",
17+
he: "עברית (ישראל)",
18+
hu: "Magyar",
19+
id: "Indonesian",
20+
it: "Italiano (Italia)",
21+
ja: "日本語",
22+
ko: "한국어",
23+
pl: "Polski (Polska)",
24+
"pt-PT": "Português (Portugal)",
25+
"pt-BR": "Português brasileiro",
26+
ro: "Romanian",
27+
ru: "Русский",
28+
sk: "Slovenčina (Slovensko)",
29+
"es-ES": "Español",
30+
"sv-SE": "Svenska",
31+
tr: "Türkçe",
32+
uk: "Українська",
1133
};
1234

1335
type TranslationObject = {

0 commit comments

Comments
 (0)