Skip to content

Commit

Permalink
Disable less complete language translations.
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>
  • Loading branch information
andypiper committed Dec 16, 2024
1 parent 81ac402 commit 5dfa38e
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions data/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const defaultLocale = "en"
const locales = [
{ code: "ar", language: "العربية", dir: "rtl" },
{ code: "be", language: "Беларуская" },
{ code: "bn", language: "বাংলা" },
{ code: "ca", language: "Català" },
{ code: "cs", language: "Čeština" },
{ code: "cy", language: "Cymraeg" },
Expand All @@ -19,22 +18,18 @@ const locales = [
{ code: "fil", language: "Filipino" },
{ code: "fr", language: "Français" },
{ code: "fy", language: "Frysk" },
{ code: "ga", language: "Gaeilge" },
{ code: "gd", language: "Gàidhlig" },
{ code: "gl", language: "Galego" },
{ code: "he", language: "עברית", dir: "rtl" },
{ code: "hi", language: "हिन्दी" },
{ code: "hu", language: "Magyar" },
{ code: "ia", language: "Interlingua" },
{ code: "id", language: "Bahasa Indonesia" },
{ code: "is", language: "Íslenska" },
{ code: "it", language: "Italiano" },
{ code: "ja", language: "日本語" },
{ code: "kab", language: "Taqbaylit" },
{ code: "ko", language: "한국어" },
{ code: "ku", language: "Kurmancî" },
{ code: "lt", language: "Lietuvių" },
{ code: "lv", language: "Latviešu" },
{ code: "nl-NL", language: "Nederlands" },
{ code: "no", language: "Norsk" },
{ code: "oc", language: "Occitan" },
Expand All @@ -43,7 +38,6 @@ const locales = [
{ code: "pt", language: "Português" },
{ code: "ru", language: "Русский" },
{ code: "si", language: "සිංහල" },
{ code: "sk", language: "Slovenčina" },
{ code: "sl", language: "Slovenščina" },
{ code: "sq", language: "Shqip" },
{ code: "sv", language: "Svenska" },
Expand All @@ -55,6 +49,19 @@ const locales = [
{ code: "zh-TW", language: "繁體中文" }
];

// these language translations have been started
// but the home page is not completely translated
// and the overall coverage is minimal, disable
// for now
const locales_disabled = [
{ code: "bn", language: "বাংলা" },
{ code: "ga", language: "Gaeilge" },
{ code: "he", language: "עברית", dir: "rtl" },
{ code: "kab", language: "Taqbaylit" },
{ code: "lv", language: "Latviešu" },
{ code: "sk", language: "Slovenčina" }
];

module.exports = {
defaultLocale,
locales,
Expand Down

0 comments on commit 5dfa38e

Please sign in to comment.