Skip to content

Commit 16796fb

Browse files
committed
i18n: Copy language names from Crowdin
1 parent 9e3c852 commit 16796fb

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

src/app/translate.tsx

+25-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,31 @@ import React, { useEffect, useState, useCallback } from "react";
44
import defaultTranslations from "@/i18n/translations.en.json";
55

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

1234
type TranslationObject = {

0 commit comments

Comments
 (0)