From a76f897171c871bac0306e9ac1d55c4bb8a5de98 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 2 Dec 2019 20:54:50 -0700 Subject: [PATCH 1/2] Enable more languages Enabled (riot-web % / react-sdk %): * Lithuanian: 100% / 48.1% translated * Hindi: 69.6% / 36.5% translated * Ukrainian: 100% / 28.5% translated * Icelandic: 43.5% / 27.7% translated They aren't the highest languages, but they are more than our lowest translated & enabled languages. --- scripts/copy-res.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/copy-res.js b/scripts/copy-res.js index aa4ece9f6e..7e8d8f8049 100755 --- a/scripts/copy-res.js +++ b/scripts/copy-res.js @@ -25,10 +25,13 @@ const INCLUDE_LANGS = [ {'value': 'fi', 'label': 'Suomi'}, {'value': 'fr', 'label': 'Français'}, {'value': 'gl', 'label': 'Galego'}, + {'value': 'hi', 'label': 'हिन्दी'}, {'value': 'hu', 'label': 'Magyar'}, + {'value': 'is', 'label': 'Íslensku'}, {'value': 'it', 'label': 'Italiano'}, {'value': 'ja', 'label': '日本語'}, {'value': 'ko', 'label': '한국어'}, + {'value': 'lt', 'label': 'Lietuvis'}, {'value': 'lv', 'label': 'Latviešu'}, {'value': 'nb_NO', 'label': 'Norwegian Bokmål'}, {'value': 'nl', 'label': 'Nederlands'}, @@ -44,6 +47,7 @@ const INCLUDE_LANGS = [ {'value': 'te', 'label': 'తెలుగు'}, {'value': 'th', 'label': 'ไทย'}, {'value': 'tr', 'label': 'Türkçe'}, + {'value': 'uk', 'label': 'Українська'}, {'value': 'vls', 'label': 'West-Vlaams'}, {'value': 'zh_Hans', 'label': '简体中文'}, // simplified chinese {'value': 'zh_Hant', 'label': '繁體中文'}, // traditional chinese From e4bf84701d03aab4155505d6d93dceda5498a9ac Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 3 Dec 2019 09:52:10 -0700 Subject: [PATCH 2/2] Use ISO code table as a source instead https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes --- scripts/copy-res.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/copy-res.js b/scripts/copy-res.js index 7e8d8f8049..e12fbaede1 100755 --- a/scripts/copy-res.js +++ b/scripts/copy-res.js @@ -27,11 +27,11 @@ const INCLUDE_LANGS = [ {'value': 'gl', 'label': 'Galego'}, {'value': 'hi', 'label': 'हिन्दी'}, {'value': 'hu', 'label': 'Magyar'}, - {'value': 'is', 'label': 'Íslensku'}, + {'value': 'is', 'label': 'íslenska'}, {'value': 'it', 'label': 'Italiano'}, {'value': 'ja', 'label': '日本語'}, {'value': 'ko', 'label': '한국어'}, - {'value': 'lt', 'label': 'Lietuvis'}, + {'value': 'lt', 'label': 'lietuvių kalba'}, {'value': 'lv', 'label': 'Latviešu'}, {'value': 'nb_NO', 'label': 'Norwegian Bokmål'}, {'value': 'nl', 'label': 'Nederlands'}, @@ -47,7 +47,7 @@ const INCLUDE_LANGS = [ {'value': 'te', 'label': 'తెలుగు'}, {'value': 'th', 'label': 'ไทย'}, {'value': 'tr', 'label': 'Türkçe'}, - {'value': 'uk', 'label': 'Українська'}, + {'value': 'uk', 'label': 'українська мова'}, {'value': 'vls', 'label': 'West-Vlaams'}, {'value': 'zh_Hans', 'label': '简体中文'}, // simplified chinese {'value': 'zh_Hant', 'label': '繁體中文'}, // traditional chinese