locales.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. const defaultLocale = "en"
  2. const locales = [
  3. { code: "ar", language: "العربية", dir: "rtl" },
  4. { code: "bn", language: "বাংলা" },
  5. { code: "ca", language: "Català" },
  6. { code: "cs", language: "Čeština" },
  7. { code: "cy", language: "Cymraeg" },
  8. { code: "de", language: "Deutsch" },
  9. { code: "en", language: "English" },
  10. { code: "es", language: "Español" },
  11. { code: "eu", language: "Euskara" },
  12. { code: "fi", language: "Suomi" },
  13. { code: "fr", language: "Français" },
  14. { code: "ga", language: "Gaeilge" },
  15. { code: "gd", language: "Gàidhlig" },
  16. { code: "he", language: "עברית", dir: "rtl" },
  17. { code: "it", language: "Italiano" },
  18. { code: "ja", language: "日本語" },
  19. { code: "kab", language: "Taqbaylit" },
  20. { code: "ko", language: "한국어" },
  21. { code: "ku", language: "Kurmancî" },
  22. { code: "nl-NL", language: "Nederlands" },
  23. { code: "no", language: "Norsk" },
  24. { code: "pl", language: "Polski" },
  25. { code: "pt-BR", language: "Português" },
  26. { code: "ru", language: "Русский" },
  27. { code: "si", language: "සිංහල" },
  28. { code: "sk", language: "Slovenčina" },
  29. { code: "sl", language: "Slovenščina" },
  30. { code: "sq", language: "Shqip" },
  31. { code: "sv", language: "Svenska" },
  32. { code: "th", language: "ภาษาไทย" },
  33. { code: "tr", language: "Türkçe" },
  34. { code: "uk", language: "Українська" },
  35. { code: "vi", language: "Tiếng Việt" },
  36. { code: "zh", language: "中文" },
  37. { code: "zh-TW", language: "繁體中文" },
  38. ]
  39. module.exports = {
  40. defaultLocale,
  41. locales,
  42. }