locales.js 1.8 KB

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