Skip to content

Commit

Permalink
i18n: Copy language names from Crowdin
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjacobs committed Nov 21, 2024
1 parent 9e3c852 commit 16796fb
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions src/app/translate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,31 @@ import React, { useEffect, useState, useCallback } from "react";
import defaultTranslations from "@/i18n/translations.en.json";

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

type TranslationObject = {
Expand Down

0 comments on commit 16796fb

Please sign in to comment.