From 89535ad9e9bda750dd9b8d507b17e6448814a5cc Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Tue, 14 Feb 2023 13:43:01 +0800 Subject: [PATCH] Update links, API usage and regexes to use or allow https where possible Prevents attackers from modifying responses and reading translation data. Suggested-by: opensnitch & check-all-the-things --- Dockerfile | 2 +- LICENSE | 2 +- README.md | 138 ++++++++++++------------ README.template.md | 24 ++--- build.awk | 8 +- include/LanguageData.awk | 4 +- include/LanguageHelper.awk | 2 +- include/REPL.awk | 2 +- include/Translators/YandexTranslate.awk | 4 +- 9 files changed, 93 insertions(+), 93 deletions(-) diff --git a/Dockerfile b/Dockerfile index 157fb187..8f256f82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest MAINTAINER soimort -RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories +RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories RUN apk add bash gawk curl mplayer fribidi less hunspell wget \ && wget git.io/trans \ diff --git a/LICENSE b/LICENSE index 68a49daa..efb98088 100644 --- a/LICENSE +++ b/LICENSE @@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -For more information, please refer to +For more information, please refer to diff --git a/README.md b/README.md index 9da42c90..153dddf5 100644 --- a/README.md +++ b/README.md @@ -61,29 +61,29 @@ In order to be happy, the best way is to be loved by people. ### Dependencies * **[GNU Awk](https://www.gnu.org/software/gawk/)** (**gawk**) **4.0 or later** - * This program relies heavily on GNU extensions of the [AWK language](http://en.wikipedia.org/wiki/AWK), which are non-portable for other AWK implementations (e.g. nawk). + * This program relies heavily on GNU extensions of the [AWK language](https://en.wikipedia.org/wiki/AWK), which are non-portable for other AWK implementations (e.g. nawk). * How to get gawk: * gawk comes with all GNU/Linux distributions. * On FreeBSD, gawk is available in the ports. * On macOS, gawk is available in MacPorts and Homebrew. * Please note that gawk 5.2.0 has a [known bug](https://github.com/soimort/translate-shell/issues/463) -- update to gawk 5.2.1 instead. -* **[GNU Bash](http://www.gnu.org/software/bash/)** or **[Zsh](http://www.zsh.org/)** +* **[GNU Bash](https://www.gnu.org/software/bash/)** or **[Zsh](https://www.zsh.org/)** * You may use Translate Shell from any Unix shell of your choice (bash, zsh, ksh, tcsh, fish, etc.); however, the wrapper script requires either **bash** or **zsh** installed. ### Recommended Dependencies These dependencies are optional, but strongly recommended for full functionality: -* **[curl](http://curl.haxx.se/)** with **OpenSSL** support +* **[curl](https://curl.se/)** with **OpenSSL** support * **[GNU FriBidi](http://fribidi.org/)**: _an implementation of the Unicode Bidirectional Algorithm (bidi)_ * required for displaying text in Right-to-Left scripts (e.g. Arabic, Hebrew) -* **[mplayer](http://www.mplayerhq.hu/)**, **[mpv](http://mpv.io/)**, **[mpg123](http://mpg123.org/)**, or **[eSpeak](http://espeak.sourceforge.net/)** +* **[mplayer](http://www.mplayerhq.hu/)**, **[mpv](https://mpv.io/)**, **[mpg123](https://mpg123.org/)**, or **[eSpeak](https://espeak.sourceforge.net/)** * required for the Text-to-Speech functionality -* **[less](http://www.greenwoodsoftware.com/less/)**, **[more](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html)** or **[most](http://www.jedsoft.org/most/)** +* **[less](https://www.greenwoodsoftware.com/less/)**, **[more](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html)** or **[most](https://www.jedsoft.org/most/)** * required for terminal paging -* **[rlwrap](http://utopia.knoware.nl/~hlub/uck/rlwrap/#rlwrap)**: *a GNU readline wrapper* +* **[rlwrap](https://github.com/hanslub42/rlwrap)**: *a GNU readline wrapper* * required for readline-style editing and history in the interactive shell -* **[aspell](http://aspell.net/)** or **[hunspell](http://hunspell.github.io/)** +* **[aspell](http://aspell.net/)** or **[hunspell](https://hunspell.github.io/)** * required for spell checking ### Environment and Fonts @@ -114,7 +114,7 @@ Then you may start an interactive shell from the Docker image for translating: ### Option #1. Direct Download -Download [the self-contained executable](http://git.io/trans) and place it into your path. It's everything you need. +Download [the self-contained executable](https://git.io/trans) and place it into your path. It's everything you need. $ wget git.io/trans $ chmod +x ./trans @@ -279,7 +279,7 @@ Sometimes the content of translation can be too much for display in one screen. ### Right-to-Left (RTL) Languages -[Right-to-Left (RTL) languages](http://en.wikipedia.org/wiki/Right-to-left) are well supported via [GNU FriBidi](http://fribidi.org/). +[Right-to-Left (RTL) languages](https://en.wikipedia.org/wiki/Right-to-left) are well supported via [GNU FriBidi](http://fribidi.org/). The program will automatically adjust the screen width for padding when displaying right-to-left languages. Alternatively, you may use the `-width` (`-w`) option to specify the screen width: @@ -300,7 +300,7 @@ Translations are written to standard output, or to the file specified by the `-o ### Translate a File -Instead of using the `-input` option, a [file URI scheme](http://en.wikipedia.org/wiki/File_URI_scheme) (`file://` followed by the file name) can be used as a command-line argument: +Instead of using the `-input` option, a [file URI scheme](https://en.wikipedia.org/wiki/File_URI_scheme) (`file://` followed by the file name) can be used as a command-line argument: $ trans :fr file://input.txt @@ -310,11 +310,11 @@ Instead of using the `-input` option, a [file URI scheme](http://en.wikipedia.or To translate a web page, an http(s) URI scheme can be used as an argument: - $ trans :fr http://www.w3.org/ + $ trans :fr https://www.w3.org/ A browser session will open for viewing the translation (via Google Translate's web interface). To specify your web browser of choice, use the `-browser` option: - $ trans -browser firefox :fr http://www.w3.org/ + $ trans -browser firefox :fr https://www.w3.org/ ### Language Details @@ -503,63 +503,63 @@ For more details on languages and corresponding codes, see **[wiki: Languages](h | Language | Code | Language | Code | Language | Code | | :------: | :--: | :------: | :--: | :------: | :--: | -| **[Afrikaans](http://en.wikipedia.org/wiki/ISO_639:afr)**
**Afrikaans** | **`af`** | **[Hebrew](http://en.wikipedia.org/wiki/ISO_639:heb)**
**עִבְרִית** | **`he`** | **[Portuguese (Brazilian)](http://en.wikipedia.org/wiki/ISO_639:por)**
**Português Brasileiro** | **`pt-BR`** | -| **[Albanian](http://en.wikipedia.org/wiki/ISO_639:sqi)**
**Shqip** | **`sq`** | **[Hill Mari](http://en.wikipedia.org/wiki/ISO_639:mrj)**
**Кырык мары** | **`mrj`** | **[Portuguese (European)](http://en.wikipedia.org/wiki/ISO_639:por)**
**Português Europeu** | **`pt-PT`** | -| **[Amharic](http://en.wikipedia.org/wiki/ISO_639:amh)**
**አማርኛ** | **`am`** | **[Hindi](http://en.wikipedia.org/wiki/ISO_639:hin)**
**हिन्दी** | **`hi`** | **[Punjabi](http://en.wikipedia.org/wiki/ISO_639:pan)**
**ਪੰਜਾਬੀ** | **`pa`** | -| **[Arabic](http://en.wikipedia.org/wiki/ISO_639:ara)**
**العربية** | **`ar`** | **[Hmong](http://en.wikipedia.org/wiki/ISO_639:hmn)**
**Hmoob** | **`hmn`** | **[Quechua](http://en.wikipedia.org/wiki/ISO_639:que)**
**Runasimi** | **`qu`** | -| **[Armenian](http://en.wikipedia.org/wiki/ISO_639:hye)**
**Հայերեն** | **`hy`** | **[Hungarian](http://en.wikipedia.org/wiki/ISO_639:hun)**
**Magyar** | **`hu`** | **[Querétaro Otomi](http://en.wikipedia.org/wiki/ISO_639:otq)**
**Hñąñho** | **`otq`** | -| **[Assamese](http://en.wikipedia.org/wiki/ISO_639:asm)**
**অসমীয়া** | **`as`** | **[Icelandic](http://en.wikipedia.org/wiki/ISO_639:isl)**
**Íslenska** | **`is`** | **[Romanian](http://en.wikipedia.org/wiki/ISO_639:ron)**
**Română** | **`ro`** | -| **[Aymara](http://en.wikipedia.org/wiki/ISO_639:aym)**
**Aymar aru** | **`ay`** | **[Igbo](http://en.wikipedia.org/wiki/ISO_639:ibo)**
**Igbo** | **`ig`** | **[Romansh](http://en.wikipedia.org/wiki/ISO_639:roh)**
**Rumantsch** | **`rm`** | -| **[Azerbaijani](http://en.wikipedia.org/wiki/ISO_639:aze)**
**Azərbaycanca** | **`az`** | **[Ilocano](http://en.wikipedia.org/wiki/ISO_639:ilo)**
**Ilokano** | **`ilo`** | **[Russian](http://en.wikipedia.org/wiki/ISO_639:rus)**
**Русский** | **`ru`** | -| **[Bambara](http://en.wikipedia.org/wiki/ISO_639:bam)**
**Bamanankan** | **`bm`** | **[Indonesian](http://en.wikipedia.org/wiki/ISO_639:ind)**
**Bahasa Indonesia** | **`id`** | **[Samoan](http://en.wikipedia.org/wiki/ISO_639:smo)**
**Gagana Sāmoa** | **`sm`** | -| **[Bashkir](http://en.wikipedia.org/wiki/ISO_639:bak)**
**Башҡортса** | **`ba`** | **[Interlingue](http://en.wikipedia.org/wiki/ISO_639:ile)**
**Interlingue** | **`ie`** | **[Sanskrit](http://en.wikipedia.org/wiki/ISO_639:san)**
**संस्कृतम्** | **`sa`** | -| **[Basque](http://en.wikipedia.org/wiki/ISO_639:eus)**
**Euskara** | **`eu`** | **[Inuinnaqtun](http://en.wikipedia.org/wiki/ISO_639:ikt)**
**Inuinnaqtun** | **`ikt`** | **[Scots Gaelic](http://en.wikipedia.org/wiki/ISO_639:gla)**
**Gàidhlig** | **`gd`** | -| **[Belarusian](http://en.wikipedia.org/wiki/ISO_639:bel)**
**беларуская** | **`be`** | **[Inuktitut](http://en.wikipedia.org/wiki/ISO_639:iku)**
**ᐃᓄᒃᑎᑐᑦ** | **`iu`** | **[Sepedi](http://en.wikipedia.org/wiki/ISO_639:nso)**
**Sepedi** | **`nso`** | -| **[Bengali](http://en.wikipedia.org/wiki/ISO_639:ben)**
**বাংলা** | **`bn`** | **[Inuktitut (Latin)](http://en.wikipedia.org/wiki/ISO_639:iku)**
**Inuktitut** | **`iu-Latn`** | **[Serbian (Cyrillic)](http://en.wikipedia.org/wiki/ISO_639:srp)**
**Српски** | **`sr-Cyrl`** | -| **[Bhojpuri](http://en.wikipedia.org/wiki/ISO_639:bho)**
**भोजपुरी** | **`bho`** | **[Irish](http://en.wikipedia.org/wiki/ISO_639:gle)**
**Gaeilge** | **`ga`** | **[Serbian (Latin)](http://en.wikipedia.org/wiki/ISO_639:srp)**
**Srpski** | **`sr-Latn`** | -| **[Bosnian](http://en.wikipedia.org/wiki/ISO_639:bos)**
**Bosanski** | **`bs`** | **[Italian](http://en.wikipedia.org/wiki/ISO_639:ita)**
**Italiano** | **`it`** | **[Sesotho](http://en.wikipedia.org/wiki/ISO_639:sot)**
**Sesotho** | **`st`** | -| **[Breton](http://en.wikipedia.org/wiki/ISO_639:bre)**
**Brezhoneg** | **`br`** | **[Japanese](http://en.wikipedia.org/wiki/ISO_639:jpn)**
**日本語** | **`ja`** | **[Setswana](http://en.wikipedia.org/wiki/ISO_639:tsn)**
**Setswana** | **`tn`** | -| **[Bulgarian](http://en.wikipedia.org/wiki/ISO_639:bul)**
**български** | **`bg`** | **[Javanese](http://en.wikipedia.org/wiki/ISO_639:jav)**
**Basa Jawa** | **`jv`** | **[Shona](http://en.wikipedia.org/wiki/ISO_639:sna)**
**chiShona** | **`sn`** | -| **[Cantonese](http://en.wikipedia.org/wiki/ISO_639:yue)**
**粵語** | **`yue`** | **[Kannada](http://en.wikipedia.org/wiki/ISO_639:kan)**
**ಕನ್ನಡ** | **`kn`** | **[Sindhi](http://en.wikipedia.org/wiki/ISO_639:snd)**
**سنڌي** | **`sd`** | -| **[Catalan](http://en.wikipedia.org/wiki/ISO_639:cat)**
**Català** | **`ca`** | **[Kazakh](http://en.wikipedia.org/wiki/ISO_639:kaz)**
**Қазақ тілі** | **`kk`** | **[Sinhala](http://en.wikipedia.org/wiki/ISO_639:sin)**
**සිංහල** | **`si`** | -| **[Cebuano](http://en.wikipedia.org/wiki/ISO_639:ceb)**
**Cebuano** | **`ceb`** | **[Khmer](http://en.wikipedia.org/wiki/ISO_639:khm)**
**ភាសាខ្មែរ** | **`km`** | **[Slovak](http://en.wikipedia.org/wiki/ISO_639:slk)**
**Slovenčina** | **`sk`** | -| **[Cherokee](http://en.wikipedia.org/wiki/ISO_639:chr)**
**ᏣᎳᎩ** | **`chr`** | **[Kinyarwanda](http://en.wikipedia.org/wiki/ISO_639:kin)**
**Ikinyarwanda** | **`rw`** | **[Slovenian](http://en.wikipedia.org/wiki/ISO_639:slv)**
**Slovenščina** | **`sl`** | -| **[Chichewa](http://en.wikipedia.org/wiki/ISO_639:nya)**
**Nyanja** | **`ny`** | **[Klingon](http://en.wikipedia.org/wiki/ISO_639:tlh)**
**tlhIngan Hol** | **`tlh-Latn`** | **[Somali](http://en.wikipedia.org/wiki/ISO_639:som)**
**Soomaali** | **`so`** | -| **[Chinese (Literary)](http://en.wikipedia.org/wiki/ISO_639:lzh)**
**文言** | **`lzh`** | **[Konkani](http://en.wikipedia.org/wiki/ISO_639:gom)**
**कोंकणी** | **`gom`** | **[Spanish](http://en.wikipedia.org/wiki/ISO_639:spa)**
**Español** | **`es`** | -| **[Chinese (Simplified)](http://en.wikipedia.org/wiki/ISO_639:zho)**
**简体中文** | **`zh-CN`** | **[Korean](http://en.wikipedia.org/wiki/ISO_639:kor)**
**한국어** | **`ko`** | **[Sundanese](http://en.wikipedia.org/wiki/ISO_639:sun)**
**Basa Sunda** | **`su`** | -| **[Chinese (Traditional)](http://en.wikipedia.org/wiki/ISO_639:zho)**
**繁體中文** | **`zh-TW`** | **[Krio](http://en.wikipedia.org/wiki/ISO_639:kri)**
**Krio** | **`kri`** | **[Swahili](http://en.wikipedia.org/wiki/ISO_639:swa)**
**Kiswahili** | **`sw`** | -| **[Chuvash](http://en.wikipedia.org/wiki/ISO_639:chv)**
**Чӑвашла** | **`cv`** | **[Kurdish (Central)](http://en.wikipedia.org/wiki/ISO_639:ckb)**
**سۆرانی** | **`ckb`** | **[Swedish](http://en.wikipedia.org/wiki/ISO_639:swe)**
**Svenska** | **`sv`** | -| **[Corsican](http://en.wikipedia.org/wiki/ISO_639:cos)**
**Corsu** | **`co`** | **[Kurdish (Northern)](http://en.wikipedia.org/wiki/ISO_639:kmr)**
**Kurmancî** | **`ku`** | **[Tahitian](http://en.wikipedia.org/wiki/ISO_639:tah)**
**Reo Tahiti** | **`ty`** | -| **[Croatian](http://en.wikipedia.org/wiki/ISO_639:hrv)**
**Hrvatski** | **`hr`** | **[Kyrgyz](http://en.wikipedia.org/wiki/ISO_639:kir)**
**Кыргызча** | **`ky`** | **[Tajik](http://en.wikipedia.org/wiki/ISO_639:tgk)**
**Тоҷикӣ** | **`tg`** | -| **[Czech](http://en.wikipedia.org/wiki/ISO_639:ces)**
**Čeština** | **`cs`** | **[Lao](http://en.wikipedia.org/wiki/ISO_639:lao)**
**ລາວ** | **`lo`** | **[Tamil](http://en.wikipedia.org/wiki/ISO_639:tam)**
**தமிழ்** | **`ta`** | -| **[Danish](http://en.wikipedia.org/wiki/ISO_639:dan)**
**Dansk** | **`da`** | **[Latin](http://en.wikipedia.org/wiki/ISO_639:lat)**
**Latina** | **`la`** | **[Tatar](http://en.wikipedia.org/wiki/ISO_639:tat)**
**татарча** | **`tt`** | -| **[Dari](http://en.wikipedia.org/wiki/ISO_639:prs)**
**دری** | **`prs`** | **[Latvian](http://en.wikipedia.org/wiki/ISO_639:lav)**
**Latviešu** | **`lv`** | **[Telugu](http://en.wikipedia.org/wiki/ISO_639:tel)**
**తెలుగు** | **`te`** | -| **[Dhivehi](http://en.wikipedia.org/wiki/ISO_639:div)**
**ދިވެހި** | **`dv`** | **[Lingala](http://en.wikipedia.org/wiki/ISO_639:lin)**
**Lingála** | **`ln`** | **[Thai](http://en.wikipedia.org/wiki/ISO_639:tha)**
**ไทย** | **`th`** | -| **[Dogri](http://en.wikipedia.org/wiki/ISO_639:doi)**
**डोगरी** | **`doi`** | **[Lithuanian](http://en.wikipedia.org/wiki/ISO_639:lit)**
**Lietuvių** | **`lt`** | **[Tibetan](http://en.wikipedia.org/wiki/ISO_639:bod)**
**བོད་ཡིག** | **`bo`** | -| **[Dutch](http://en.wikipedia.org/wiki/ISO_639:nld)**
**Nederlands** | **`nl`** | **[Luganda](http://en.wikipedia.org/wiki/ISO_639:lug)**
**Luganda** | **`lg`** | **[Tigrinya](http://en.wikipedia.org/wiki/ISO_639:tir)**
**ትግርኛ** | **`ti`** | -| **[Dzongkha](http://en.wikipedia.org/wiki/ISO_639:dzo)**
**རྫོང་ཁ** | **`dz`** | **[Luxembourgish](http://en.wikipedia.org/wiki/ISO_639:ltz)**
**Lëtzebuergesch** | **`lb`** | **[Tongan](http://en.wikipedia.org/wiki/ISO_639:ton)**
**Lea faka-Tonga** | **`to`** | -| **[Eastern Mari](http://en.wikipedia.org/wiki/ISO_639:mhr)**
**Олык марий** | **`mhr`** | **[Macedonian](http://en.wikipedia.org/wiki/ISO_639:mkd)**
**Македонски** | **`mk`** | **[Tsonga](http://en.wikipedia.org/wiki/ISO_639:tso)**
**Xitsonga** | **`ts`** | -| **[English](http://en.wikipedia.org/wiki/ISO_639:eng)**
**English** | **`en`** | **[Maithili](http://en.wikipedia.org/wiki/ISO_639:mai)**
**मैथिली** | **`mai`** | **[Turkish](http://en.wikipedia.org/wiki/ISO_639:tur)**
**Türkçe** | **`tr`** | -| **[Esperanto](http://en.wikipedia.org/wiki/ISO_639:epo)**
**Esperanto** | **`eo`** | **[Malagasy](http://en.wikipedia.org/wiki/ISO_639:mlg)**
**Malagasy** | **`mg`** | **[Turkmen](http://en.wikipedia.org/wiki/ISO_639:tuk)**
**Türkmen** | **`tk`** | -| **[Estonian](http://en.wikipedia.org/wiki/ISO_639:est)**
**Eesti** | **`et`** | **[Malay](http://en.wikipedia.org/wiki/ISO_639:msa)**
**Bahasa Melayu** | **`ms`** | **[Twi](http://en.wikipedia.org/wiki/ISO_639:twi)**
**Twi** | **`tw`** | -| **[Ewe](http://en.wikipedia.org/wiki/ISO_639:ewe)**
**Eʋegbe** | **`ee`** | **[Malayalam](http://en.wikipedia.org/wiki/ISO_639:mal)**
**മലയാളം** | **`ml`** | **[Udmurt](http://en.wikipedia.org/wiki/ISO_639:udm)**
**Удмурт** | **`udm`** | -| **[Faroese](http://en.wikipedia.org/wiki/ISO_639:fao)**
**Føroyskt** | **`fo`** | **[Maltese](http://en.wikipedia.org/wiki/ISO_639:mlt)**
**Malti** | **`mt`** | **[Ukrainian](http://en.wikipedia.org/wiki/ISO_639:ukr)**
**Українська** | **`uk`** | -| **[Fijian](http://en.wikipedia.org/wiki/ISO_639:fij)**
**Vosa Vakaviti** | **`fj`** | **[Maori](http://en.wikipedia.org/wiki/ISO_639:mri)**
**Māori** | **`mi`** | **[Upper Sorbian](http://en.wikipedia.org/wiki/ISO_639:hsb)**
**Hornjoserbšćina** | **`hsb`** | -| **[Filipino](http://en.wikipedia.org/wiki/ISO_639:fil)**
**Filipino** | **`tl`** | **[Marathi](http://en.wikipedia.org/wiki/ISO_639:mar)**
**मराठी** | **`mr`** | **[Urdu](http://en.wikipedia.org/wiki/ISO_639:urd)**
**اُردُو** | **`ur`** | -| **[Finnish](http://en.wikipedia.org/wiki/ISO_639:fin)**
**Suomi** | **`fi`** | **[Meiteilon](http://en.wikipedia.org/wiki/ISO_639:mni)**
**ꯃꯤꯇꯩꯂꯣꯟ** | **`mni-Mtei`** | **[Uyghur](http://en.wikipedia.org/wiki/ISO_639:uig)**
**ئۇيغۇر تىلى** | **`ug`** | -| **[French](http://en.wikipedia.org/wiki/ISO_639:fra)**
**Français** | **`fr`** | **[Mizo](http://en.wikipedia.org/wiki/ISO_639:lus)**
**Mizo ṭawng** | **`lus`** | **[Uzbek](http://en.wikipedia.org/wiki/ISO_639:uzb)**
**Oʻzbek tili** | **`uz`** | -| **[French (Canadian)](http://en.wikipedia.org/wiki/ISO_639:fra)**
**Français canadien** | **`fr-CA`** | **[Mongolian](http://en.wikipedia.org/wiki/ISO_639:mon)**
**Монгол** | **`mn`** | **[Vietnamese](http://en.wikipedia.org/wiki/ISO_639:vie)**
**Tiếng Việt** | **`vi`** | -| **[Frisian](http://en.wikipedia.org/wiki/ISO_639:fry)**
**Frysk** | **`fy`** | **[Mongolian (Traditional)](http://en.wikipedia.org/wiki/ISO_639:mon)**
**ᠮᠣᠩᠭᠣᠯ** | **`mn-Mong`** | **[Volapük](http://en.wikipedia.org/wiki/ISO_639:vol)**
**Volapük** | **`vo`** | -| **[Galician](http://en.wikipedia.org/wiki/ISO_639:glg)**
**Galego** | **`gl`** | **[Myanmar](http://en.wikipedia.org/wiki/ISO_639:mya)**
**မြန်မာစာ** | **`my`** | **[Welsh](http://en.wikipedia.org/wiki/ISO_639:cym)**
**Cymraeg** | **`cy`** | -| **[Georgian](http://en.wikipedia.org/wiki/ISO_639:kat)**
**ქართული** | **`ka`** | **[Nepali](http://en.wikipedia.org/wiki/ISO_639:nep)**
**नेपाली** | **`ne`** | **[Wolof](http://en.wikipedia.org/wiki/ISO_639:wol)**
**Wollof** | **`wo`** | -| **[German](http://en.wikipedia.org/wiki/ISO_639:deu)**
**Deutsch** | **`de`** | **[Norwegian](http://en.wikipedia.org/wiki/ISO_639:nor)**
**Norsk** | **`no`** | **[Xhosa](http://en.wikipedia.org/wiki/ISO_639:xho)**
**isiXhosa** | **`xh`** | -| **[Greek](http://en.wikipedia.org/wiki/ISO_639:ell)**
**Ελληνικά** | **`el`** | **[Occitan](http://en.wikipedia.org/wiki/ISO_639:oci)**
**Occitan** | **`oc`** | **[Yakut](http://en.wikipedia.org/wiki/ISO_639:sah)**
**Sakha** | **`sah`** | -| **[Greenlandic](http://en.wikipedia.org/wiki/ISO_639:kal)**
**Kalaallisut** | **`kl`** | **[Odia](http://en.wikipedia.org/wiki/ISO_639:ori)**
**ଓଡ଼ିଆ** | **`or`** | **[Yiddish](http://en.wikipedia.org/wiki/ISO_639:yid)**
**ייִדיש** | **`yi`** | -| **[Guarani](http://en.wikipedia.org/wiki/ISO_639:gug)**
**Avañe'ẽ** | **`gn`** | **[Oromo](http://en.wikipedia.org/wiki/ISO_639:orm)**
**Afaan Oromoo** | **`om`** | **[Yoruba](http://en.wikipedia.org/wiki/ISO_639:yor)**
**Yorùbá** | **`yo`** | -| **[Gujarati](http://en.wikipedia.org/wiki/ISO_639:guj)**
**ગુજરાતી** | **`gu`** | **[Papiamento](http://en.wikipedia.org/wiki/ISO_639:pap)**
**Papiamentu** | **`pap`** | **[Yucatec Maya](http://en.wikipedia.org/wiki/ISO_639:yua)**
**Màaya T'àan** | **`yua`** | -| **[Haitian Creole](http://en.wikipedia.org/wiki/ISO_639:hat)**
**Kreyòl Ayisyen** | **`ht`** | **[Pashto](http://en.wikipedia.org/wiki/ISO_639:pus)**
**پښتو** | **`ps`** | **[Zulu](http://en.wikipedia.org/wiki/ISO_639:zul)**
**isiZulu** | **`zu`** | -| **[Hausa](http://en.wikipedia.org/wiki/ISO_639:hau)**
**Hausa** | **`ha`** | **[Persian](http://en.wikipedia.org/wiki/ISO_639:fas)**
**فارسی** | **`fa`** | -| **[Hawaiian](http://en.wikipedia.org/wiki/ISO_639:haw)**
**ʻŌlelo Hawaiʻi** | **`haw`** | **[Polish](http://en.wikipedia.org/wiki/ISO_639:pol)**
**Polski** | **`pl`** | +| **[Afrikaans](https://en.wikipedia.org/wiki/ISO_639:afr)**
**Afrikaans** | **`af`** | **[Hebrew](https://en.wikipedia.org/wiki/ISO_639:heb)**
**עִבְרִית** | **`he`** | **[Portuguese (Brazilian)](https://en.wikipedia.org/wiki/ISO_639:por)**
**Português Brasileiro** | **`pt-BR`** | +| **[Albanian](https://en.wikipedia.org/wiki/ISO_639:sqi)**
**Shqip** | **`sq`** | **[Hill Mari](https://en.wikipedia.org/wiki/ISO_639:mrj)**
**Кырык мары** | **`mrj`** | **[Portuguese (European)](https://en.wikipedia.org/wiki/ISO_639:por)**
**Português Europeu** | **`pt-PT`** | +| **[Amharic](https://en.wikipedia.org/wiki/ISO_639:amh)**
**አማርኛ** | **`am`** | **[Hindi](https://en.wikipedia.org/wiki/ISO_639:hin)**
**हिन्दी** | **`hi`** | **[Punjabi](https://en.wikipedia.org/wiki/ISO_639:pan)**
**ਪੰਜਾਬੀ** | **`pa`** | +| **[Arabic](https://en.wikipedia.org/wiki/ISO_639:ara)**
**العربية** | **`ar`** | **[Hmong](https://en.wikipedia.org/wiki/ISO_639:hmn)**
**Hmoob** | **`hmn`** | **[Quechua](https://en.wikipedia.org/wiki/ISO_639:que)**
**Runasimi** | **`qu`** | +| **[Armenian](https://en.wikipedia.org/wiki/ISO_639:hye)**
**Հայերեն** | **`hy`** | **[Hungarian](https://en.wikipedia.org/wiki/ISO_639:hun)**
**Magyar** | **`hu`** | **[Querétaro Otomi](https://en.wikipedia.org/wiki/ISO_639:otq)**
**Hñąñho** | **`otq`** | +| **[Assamese](https://en.wikipedia.org/wiki/ISO_639:asm)**
**অসমীয়া** | **`as`** | **[Icelandic](https://en.wikipedia.org/wiki/ISO_639:isl)**
**Íslenska** | **`is`** | **[Romanian](https://en.wikipedia.org/wiki/ISO_639:ron)**
**Română** | **`ro`** | +| **[Aymara](https://en.wikipedia.org/wiki/ISO_639:aym)**
**Aymar aru** | **`ay`** | **[Igbo](https://en.wikipedia.org/wiki/ISO_639:ibo)**
**Igbo** | **`ig`** | **[Romansh](https://en.wikipedia.org/wiki/ISO_639:roh)**
**Rumantsch** | **`rm`** | +| **[Azerbaijani](https://en.wikipedia.org/wiki/ISO_639:aze)**
**Azərbaycanca** | **`az`** | **[Ilocano](https://en.wikipedia.org/wiki/ISO_639:ilo)**
**Ilokano** | **`ilo`** | **[Russian](https://en.wikipedia.org/wiki/ISO_639:rus)**
**Русский** | **`ru`** | +| **[Bambara](https://en.wikipedia.org/wiki/ISO_639:bam)**
**Bamanankan** | **`bm`** | **[Indonesian](https://en.wikipedia.org/wiki/ISO_639:ind)**
**Bahasa Indonesia** | **`id`** | **[Samoan](https://en.wikipedia.org/wiki/ISO_639:smo)**
**Gagana Sāmoa** | **`sm`** | +| **[Bashkir](https://en.wikipedia.org/wiki/ISO_639:bak)**
**Башҡортса** | **`ba`** | **[Interlingue](https://en.wikipedia.org/wiki/ISO_639:ile)**
**Interlingue** | **`ie`** | **[Sanskrit](https://en.wikipedia.org/wiki/ISO_639:san)**
**संस्कृतम्** | **`sa`** | +| **[Basque](https://en.wikipedia.org/wiki/ISO_639:eus)**
**Euskara** | **`eu`** | **[Inuinnaqtun](https://en.wikipedia.org/wiki/ISO_639:ikt)**
**Inuinnaqtun** | **`ikt`** | **[Scots Gaelic](https://en.wikipedia.org/wiki/ISO_639:gla)**
**Gàidhlig** | **`gd`** | +| **[Belarusian](https://en.wikipedia.org/wiki/ISO_639:bel)**
**беларуская** | **`be`** | **[Inuktitut](https://en.wikipedia.org/wiki/ISO_639:iku)**
**ᐃᓄᒃᑎᑐᑦ** | **`iu`** | **[Sepedi](https://en.wikipedia.org/wiki/ISO_639:nso)**
**Sepedi** | **`nso`** | +| **[Bengali](https://en.wikipedia.org/wiki/ISO_639:ben)**
**বাংলা** | **`bn`** | **[Inuktitut (Latin)](https://en.wikipedia.org/wiki/ISO_639:iku)**
**Inuktitut** | **`iu-Latn`** | **[Serbian (Cyrillic)](https://en.wikipedia.org/wiki/ISO_639:srp)**
**Српски** | **`sr-Cyrl`** | +| **[Bhojpuri](https://en.wikipedia.org/wiki/ISO_639:bho)**
**भोजपुरी** | **`bho`** | **[Irish](https://en.wikipedia.org/wiki/ISO_639:gle)**
**Gaeilge** | **`ga`** | **[Serbian (Latin)](https://en.wikipedia.org/wiki/ISO_639:srp)**
**Srpski** | **`sr-Latn`** | +| **[Bosnian](https://en.wikipedia.org/wiki/ISO_639:bos)**
**Bosanski** | **`bs`** | **[Italian](https://en.wikipedia.org/wiki/ISO_639:ita)**
**Italiano** | **`it`** | **[Sesotho](https://en.wikipedia.org/wiki/ISO_639:sot)**
**Sesotho** | **`st`** | +| **[Breton](https://en.wikipedia.org/wiki/ISO_639:bre)**
**Brezhoneg** | **`br`** | **[Japanese](https://en.wikipedia.org/wiki/ISO_639:jpn)**
**日本語** | **`ja`** | **[Setswana](https://en.wikipedia.org/wiki/ISO_639:tsn)**
**Setswana** | **`tn`** | +| **[Bulgarian](https://en.wikipedia.org/wiki/ISO_639:bul)**
**български** | **`bg`** | **[Javanese](https://en.wikipedia.org/wiki/ISO_639:jav)**
**Basa Jawa** | **`jv`** | **[Shona](https://en.wikipedia.org/wiki/ISO_639:sna)**
**chiShona** | **`sn`** | +| **[Cantonese](https://en.wikipedia.org/wiki/ISO_639:yue)**
**粵語** | **`yue`** | **[Kannada](https://en.wikipedia.org/wiki/ISO_639:kan)**
**ಕನ್ನಡ** | **`kn`** | **[Sindhi](https://en.wikipedia.org/wiki/ISO_639:snd)**
**سنڌي** | **`sd`** | +| **[Catalan](https://en.wikipedia.org/wiki/ISO_639:cat)**
**Català** | **`ca`** | **[Kazakh](https://en.wikipedia.org/wiki/ISO_639:kaz)**
**Қазақ тілі** | **`kk`** | **[Sinhala](https://en.wikipedia.org/wiki/ISO_639:sin)**
**සිංහල** | **`si`** | +| **[Cebuano](https://en.wikipedia.org/wiki/ISO_639:ceb)**
**Cebuano** | **`ceb`** | **[Khmer](https://en.wikipedia.org/wiki/ISO_639:khm)**
**ភាសាខ្មែរ** | **`km`** | **[Slovak](https://en.wikipedia.org/wiki/ISO_639:slk)**
**Slovenčina** | **`sk`** | +| **[Cherokee](https://en.wikipedia.org/wiki/ISO_639:chr)**
**ᏣᎳᎩ** | **`chr`** | **[Kinyarwanda](https://en.wikipedia.org/wiki/ISO_639:kin)**
**Ikinyarwanda** | **`rw`** | **[Slovenian](https://en.wikipedia.org/wiki/ISO_639:slv)**
**Slovenščina** | **`sl`** | +| **[Chichewa](https://en.wikipedia.org/wiki/ISO_639:nya)**
**Nyanja** | **`ny`** | **[Klingon](https://en.wikipedia.org/wiki/ISO_639:tlh)**
**tlhIngan Hol** | **`tlh-Latn`** | **[Somali](https://en.wikipedia.org/wiki/ISO_639:som)**
**Soomaali** | **`so`** | +| **[Chinese (Literary)](https://en.wikipedia.org/wiki/ISO_639:lzh)**
**文言** | **`lzh`** | **[Konkani](https://en.wikipedia.org/wiki/ISO_639:gom)**
**कोंकणी** | **`gom`** | **[Spanish](https://en.wikipedia.org/wiki/ISO_639:spa)**
**Español** | **`es`** | +| **[Chinese (Simplified)](https://en.wikipedia.org/wiki/ISO_639:zho)**
**简体中文** | **`zh-CN`** | **[Korean](https://en.wikipedia.org/wiki/ISO_639:kor)**
**한국어** | **`ko`** | **[Sundanese](https://en.wikipedia.org/wiki/ISO_639:sun)**
**Basa Sunda** | **`su`** | +| **[Chinese (Traditional)](https://en.wikipedia.org/wiki/ISO_639:zho)**
**繁體中文** | **`zh-TW`** | **[Krio](https://en.wikipedia.org/wiki/ISO_639:kri)**
**Krio** | **`kri`** | **[Swahili](https://en.wikipedia.org/wiki/ISO_639:swa)**
**Kiswahili** | **`sw`** | +| **[Chuvash](https://en.wikipedia.org/wiki/ISO_639:chv)**
**Чӑвашла** | **`cv`** | **[Kurdish (Central)](https://en.wikipedia.org/wiki/ISO_639:ckb)**
**سۆرانی** | **`ckb`** | **[Swedish](https://en.wikipedia.org/wiki/ISO_639:swe)**
**Svenska** | **`sv`** | +| **[Corsican](https://en.wikipedia.org/wiki/ISO_639:cos)**
**Corsu** | **`co`** | **[Kurdish (Northern)](https://en.wikipedia.org/wiki/ISO_639:kmr)**
**Kurmancî** | **`ku`** | **[Tahitian](https://en.wikipedia.org/wiki/ISO_639:tah)**
**Reo Tahiti** | **`ty`** | +| **[Croatian](https://en.wikipedia.org/wiki/ISO_639:hrv)**
**Hrvatski** | **`hr`** | **[Kyrgyz](https://en.wikipedia.org/wiki/ISO_639:kir)**
**Кыргызча** | **`ky`** | **[Tajik](https://en.wikipedia.org/wiki/ISO_639:tgk)**
**Тоҷикӣ** | **`tg`** | +| **[Czech](https://en.wikipedia.org/wiki/ISO_639:ces)**
**Čeština** | **`cs`** | **[Lao](https://en.wikipedia.org/wiki/ISO_639:lao)**
**ລາວ** | **`lo`** | **[Tamil](https://en.wikipedia.org/wiki/ISO_639:tam)**
**தமிழ்** | **`ta`** | +| **[Danish](https://en.wikipedia.org/wiki/ISO_639:dan)**
**Dansk** | **`da`** | **[Latin](https://en.wikipedia.org/wiki/ISO_639:lat)**
**Latina** | **`la`** | **[Tatar](https://en.wikipedia.org/wiki/ISO_639:tat)**
**татарча** | **`tt`** | +| **[Dari](https://en.wikipedia.org/wiki/ISO_639:prs)**
**دری** | **`prs`** | **[Latvian](https://en.wikipedia.org/wiki/ISO_639:lav)**
**Latviešu** | **`lv`** | **[Telugu](https://en.wikipedia.org/wiki/ISO_639:tel)**
**తెలుగు** | **`te`** | +| **[Dhivehi](https://en.wikipedia.org/wiki/ISO_639:div)**
**ދިވެހި** | **`dv`** | **[Lingala](https://en.wikipedia.org/wiki/ISO_639:lin)**
**Lingála** | **`ln`** | **[Thai](https://en.wikipedia.org/wiki/ISO_639:tha)**
**ไทย** | **`th`** | +| **[Dogri](https://en.wikipedia.org/wiki/ISO_639:doi)**
**डोगरी** | **`doi`** | **[Lithuanian](https://en.wikipedia.org/wiki/ISO_639:lit)**
**Lietuvių** | **`lt`** | **[Tibetan](https://en.wikipedia.org/wiki/ISO_639:bod)**
**བོད་ཡིག** | **`bo`** | +| **[Dutch](https://en.wikipedia.org/wiki/ISO_639:nld)**
**Nederlands** | **`nl`** | **[Luganda](https://en.wikipedia.org/wiki/ISO_639:lug)**
**Luganda** | **`lg`** | **[Tigrinya](https://en.wikipedia.org/wiki/ISO_639:tir)**
**ትግርኛ** | **`ti`** | +| **[Dzongkha](https://en.wikipedia.org/wiki/ISO_639:dzo)**
**རྫོང་ཁ** | **`dz`** | **[Luxembourgish](https://en.wikipedia.org/wiki/ISO_639:ltz)**
**Lëtzebuergesch** | **`lb`** | **[Tongan](https://en.wikipedia.org/wiki/ISO_639:ton)**
**Lea faka-Tonga** | **`to`** | +| **[Eastern Mari](https://en.wikipedia.org/wiki/ISO_639:mhr)**
**Олык марий** | **`mhr`** | **[Macedonian](https://en.wikipedia.org/wiki/ISO_639:mkd)**
**Македонски** | **`mk`** | **[Tsonga](https://en.wikipedia.org/wiki/ISO_639:tso)**
**Xitsonga** | **`ts`** | +| **[English](https://en.wikipedia.org/wiki/ISO_639:eng)**
**English** | **`en`** | **[Maithili](https://en.wikipedia.org/wiki/ISO_639:mai)**
**मैथिली** | **`mai`** | **[Turkish](https://en.wikipedia.org/wiki/ISO_639:tur)**
**Türkçe** | **`tr`** | +| **[Esperanto](https://en.wikipedia.org/wiki/ISO_639:epo)**
**Esperanto** | **`eo`** | **[Malagasy](https://en.wikipedia.org/wiki/ISO_639:mlg)**
**Malagasy** | **`mg`** | **[Turkmen](https://en.wikipedia.org/wiki/ISO_639:tuk)**
**Türkmen** | **`tk`** | +| **[Estonian](https://en.wikipedia.org/wiki/ISO_639:est)**
**Eesti** | **`et`** | **[Malay](https://en.wikipedia.org/wiki/ISO_639:msa)**
**Bahasa Melayu** | **`ms`** | **[Twi](https://en.wikipedia.org/wiki/ISO_639:twi)**
**Twi** | **`tw`** | +| **[Ewe](https://en.wikipedia.org/wiki/ISO_639:ewe)**
**Eʋegbe** | **`ee`** | **[Malayalam](https://en.wikipedia.org/wiki/ISO_639:mal)**
**മലയാളം** | **`ml`** | **[Udmurt](https://en.wikipedia.org/wiki/ISO_639:udm)**
**Удмурт** | **`udm`** | +| **[Faroese](https://en.wikipedia.org/wiki/ISO_639:fao)**
**Føroyskt** | **`fo`** | **[Maltese](https://en.wikipedia.org/wiki/ISO_639:mlt)**
**Malti** | **`mt`** | **[Ukrainian](https://en.wikipedia.org/wiki/ISO_639:ukr)**
**Українська** | **`uk`** | +| **[Fijian](https://en.wikipedia.org/wiki/ISO_639:fij)**
**Vosa Vakaviti** | **`fj`** | **[Maori](https://en.wikipedia.org/wiki/ISO_639:mri)**
**Māori** | **`mi`** | **[Upper Sorbian](https://en.wikipedia.org/wiki/ISO_639:hsb)**
**Hornjoserbšćina** | **`hsb`** | +| **[Filipino](https://en.wikipedia.org/wiki/ISO_639:fil)**
**Filipino** | **`tl`** | **[Marathi](https://en.wikipedia.org/wiki/ISO_639:mar)**
**मराठी** | **`mr`** | **[Urdu](https://en.wikipedia.org/wiki/ISO_639:urd)**
**اُردُو** | **`ur`** | +| **[Finnish](https://en.wikipedia.org/wiki/ISO_639:fin)**
**Suomi** | **`fi`** | **[Meiteilon](https://en.wikipedia.org/wiki/ISO_639:mni)**
**ꯃꯤꯇꯩꯂꯣꯟ** | **`mni-Mtei`** | **[Uyghur](https://en.wikipedia.org/wiki/ISO_639:uig)**
**ئۇيغۇر تىلى** | **`ug`** | +| **[French](https://en.wikipedia.org/wiki/ISO_639:fra)**
**Français** | **`fr`** | **[Mizo](https://en.wikipedia.org/wiki/ISO_639:lus)**
**Mizo ṭawng** | **`lus`** | **[Uzbek](https://en.wikipedia.org/wiki/ISO_639:uzb)**
**Oʻzbek tili** | **`uz`** | +| **[French (Canadian)](https://en.wikipedia.org/wiki/ISO_639:fra)**
**Français canadien** | **`fr-CA`** | **[Mongolian](https://en.wikipedia.org/wiki/ISO_639:mon)**
**Монгол** | **`mn`** | **[Vietnamese](https://en.wikipedia.org/wiki/ISO_639:vie)**
**Tiếng Việt** | **`vi`** | +| **[Frisian](https://en.wikipedia.org/wiki/ISO_639:fry)**
**Frysk** | **`fy`** | **[Mongolian (Traditional)](https://en.wikipedia.org/wiki/ISO_639:mon)**
**ᠮᠣᠩᠭᠣᠯ** | **`mn-Mong`** | **[Volapük](https://en.wikipedia.org/wiki/ISO_639:vol)**
**Volapük** | **`vo`** | +| **[Galician](https://en.wikipedia.org/wiki/ISO_639:glg)**
**Galego** | **`gl`** | **[Myanmar](https://en.wikipedia.org/wiki/ISO_639:mya)**
**မြန်မာစာ** | **`my`** | **[Welsh](https://en.wikipedia.org/wiki/ISO_639:cym)**
**Cymraeg** | **`cy`** | +| **[Georgian](https://en.wikipedia.org/wiki/ISO_639:kat)**
**ქართული** | **`ka`** | **[Nepali](https://en.wikipedia.org/wiki/ISO_639:nep)**
**नेपाली** | **`ne`** | **[Wolof](https://en.wikipedia.org/wiki/ISO_639:wol)**
**Wollof** | **`wo`** | +| **[German](https://en.wikipedia.org/wiki/ISO_639:deu)**
**Deutsch** | **`de`** | **[Norwegian](https://en.wikipedia.org/wiki/ISO_639:nor)**
**Norsk** | **`no`** | **[Xhosa](https://en.wikipedia.org/wiki/ISO_639:xho)**
**isiXhosa** | **`xh`** | +| **[Greek](https://en.wikipedia.org/wiki/ISO_639:ell)**
**Ελληνικά** | **`el`** | **[Occitan](https://en.wikipedia.org/wiki/ISO_639:oci)**
**Occitan** | **`oc`** | **[Yakut](https://en.wikipedia.org/wiki/ISO_639:sah)**
**Sakha** | **`sah`** | +| **[Greenlandic](https://en.wikipedia.org/wiki/ISO_639:kal)**
**Kalaallisut** | **`kl`** | **[Odia](https://en.wikipedia.org/wiki/ISO_639:ori)**
**ଓଡ଼ିଆ** | **`or`** | **[Yiddish](https://en.wikipedia.org/wiki/ISO_639:yid)**
**ייִדיש** | **`yi`** | +| **[Guarani](https://en.wikipedia.org/wiki/ISO_639:gug)**
**Avañe'ẽ** | **`gn`** | **[Oromo](https://en.wikipedia.org/wiki/ISO_639:orm)**
**Afaan Oromoo** | **`om`** | **[Yoruba](https://en.wikipedia.org/wiki/ISO_639:yor)**
**Yorùbá** | **`yo`** | +| **[Gujarati](https://en.wikipedia.org/wiki/ISO_639:guj)**
**ગુજરાતી** | **`gu`** | **[Papiamento](https://en.wikipedia.org/wiki/ISO_639:pap)**
**Papiamentu** | **`pap`** | **[Yucatec Maya](https://en.wikipedia.org/wiki/ISO_639:yua)**
**Màaya T'àan** | **`yua`** | +| **[Haitian Creole](https://en.wikipedia.org/wiki/ISO_639:hat)**
**Kreyòl Ayisyen** | **`ht`** | **[Pashto](https://en.wikipedia.org/wiki/ISO_639:pus)**
**پښتو** | **`ps`** | **[Zulu](https://en.wikipedia.org/wiki/ISO_639:zul)**
**isiZulu** | **`zu`** | +| **[Hausa](https://en.wikipedia.org/wiki/ISO_639:hau)**
**Hausa** | **`ha`** | **[Persian](https://en.wikipedia.org/wiki/ISO_639:fas)**
**فارسی** | **`fa`** | +| **[Hawaiian](https://en.wikipedia.org/wiki/ISO_639:haw)**
**ʻŌlelo Hawaiʻi** | **`haw`** | **[Polish](https://en.wikipedia.org/wiki/ISO_639:pol)**
**Polski** | **`pl`** | ## Wiki diff --git a/README.template.md b/README.template.md index 2d3ae081..838d54ee 100644 --- a/README.template.md +++ b/README.template.md @@ -61,29 +61,29 @@ In order to be happy, the best way is to be loved by people. ### Dependencies * **[GNU Awk](https://www.gnu.org/software/gawk/)** (**gawk**) **4.0 or later** - * This program relies heavily on GNU extensions of the [AWK language](http://en.wikipedia.org/wiki/AWK), which are non-portable for other AWK implementations (e.g. nawk). + * This program relies heavily on GNU extensions of the [AWK language](https://en.wikipedia.org/wiki/AWK), which are non-portable for other AWK implementations (e.g. nawk). * How to get gawk: * gawk comes with all GNU/Linux distributions. * On FreeBSD, gawk is available in the ports. * On macOS, gawk is available in MacPorts and Homebrew. * Please note that gawk 5.2.0 has a [known bug](https://github.com/soimort/translate-shell/issues/463) -- update to gawk 5.2.1 instead. -* **[GNU Bash](http://www.gnu.org/software/bash/)** or **[Zsh](http://www.zsh.org/)** +* **[GNU Bash](https://www.gnu.org/software/bash/)** or **[Zsh](https://www.zsh.org/)** * You may use Translate Shell from any Unix shell of your choice (bash, zsh, ksh, tcsh, fish, etc.); however, the wrapper script requires either **bash** or **zsh** installed. ### Recommended Dependencies These dependencies are optional, but strongly recommended for full functionality: -* **[curl](http://curl.haxx.se/)** with **OpenSSL** support +* **[curl](https://curl.se/)** with **OpenSSL** support * **[GNU FriBidi](http://fribidi.org/)**: _an implementation of the Unicode Bidirectional Algorithm (bidi)_ * required for displaying text in Right-to-Left scripts (e.g. Arabic, Hebrew) -* **[mplayer](http://www.mplayerhq.hu/)**, **[mpv](http://mpv.io/)**, **[mpg123](http://mpg123.org/)**, or **[eSpeak](http://espeak.sourceforge.net/)** +* **[mplayer](http://www.mplayerhq.hu/)**, **[mpv](https://mpv.io/)**, **[mpg123](https://mpg123.org/)**, or **[eSpeak](https://espeak.sourceforge.net/)** * required for the Text-to-Speech functionality -* **[less](http://www.greenwoodsoftware.com/less/)**, **[more](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html)** or **[most](http://www.jedsoft.org/most/)** +* **[less](https://www.greenwoodsoftware.com/less/)**, **[more](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html)** or **[most](https://www.jedsoft.org/most/)** * required for terminal paging -* **[rlwrap](http://utopia.knoware.nl/~hlub/uck/rlwrap/#rlwrap)**: *a GNU readline wrapper* +* **[rlwrap](https://github.com/hanslub42/rlwrap)**: *a GNU readline wrapper* * required for readline-style editing and history in the interactive shell -* **[aspell](http://aspell.net/)** or **[hunspell](http://hunspell.github.io/)** +* **[aspell](http://aspell.net/)** or **[hunspell](https://hunspell.github.io/)** * required for spell checking ### Environment and Fonts @@ -114,7 +114,7 @@ Then you may start an interactive shell from the Docker image for translating: ### Option #1. Direct Download -Download [the self-contained executable](http://git.io/trans) and place it into your path. It's everything you need. +Download [the self-contained executable](https://git.io/trans) and place it into your path. It's everything you need. $ wget git.io/trans $ chmod +x ./trans @@ -279,7 +279,7 @@ Sometimes the content of translation can be too much for display in one screen. ### Right-to-Left (RTL) Languages -[Right-to-Left (RTL) languages](http://en.wikipedia.org/wiki/Right-to-left) are well supported via [GNU FriBidi](http://fribidi.org/). +[Right-to-Left (RTL) languages](https://en.wikipedia.org/wiki/Right-to-left) are well supported via [GNU FriBidi](http://fribidi.org/). The program will automatically adjust the screen width for padding when displaying right-to-left languages. Alternatively, you may use the `-width` (`-w`) option to specify the screen width: @@ -300,7 +300,7 @@ Translations are written to standard output, or to the file specified by the `-o ### Translate a File -Instead of using the `-input` option, a [file URI scheme](http://en.wikipedia.org/wiki/File_URI_scheme) (`file://` followed by the file name) can be used as a command-line argument: +Instead of using the `-input` option, a [file URI scheme](https://en.wikipedia.org/wiki/File_URI_scheme) (`file://` followed by the file name) can be used as a command-line argument: $ trans :fr file://input.txt @@ -310,11 +310,11 @@ Instead of using the `-input` option, a [file URI scheme](http://en.wikipedia.or To translate a web page, an http(s) URI scheme can be used as an argument: - $ trans :fr http://www.w3.org/ + $ trans :fr https://www.w3.org/ A browser session will open for viewing the translation (via Google Translate's web interface). To specify your web browser of choice, use the `-browser` option: - $ trans -browser firefox :fr http://www.w3.org/ + $ trans -browser firefox :fr https://www.w3.org/ ### Language Details diff --git a/build.awk b/build.awk index 08f5e628..b873838b 100755 --- a/build.awk +++ b/build.awk @@ -85,7 +85,7 @@ function readme( code, col, cols, content, group, i, iso, j, num, r, rows, te split(getISO(cols[j][i]), group, "-") iso = group[1] - r = r "**[" getName(cols[j][i]) "](" "http://en.wikipedia.org/wiki/ISO_639:" iso \ + r = r "**[" getName(cols[j][i]) "](" "https://en.wikipedia.org/wiki/ISO_639:" iso \ ")**
**" getEndonym(cols[j][i]) "** | **`" cols[j][i] "`** | " } r = r RS @@ -106,7 +106,7 @@ function wiki( code, group, iso, language, saveSortedIn) { print "*Generated from the source code of Translate Shell " Version ".*\n" > WikiLanguages print "*Version: [English](https://github.com/soimort/translate-shell/wiki/Languages) " \ "| [Chinese Simplified](https://github.com/soimort/translate-shell/wiki/Languages-%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29)*\n" > WikiLanguages - print "| Code | Name | Family | [Writing system](https://github.com/soimort/translate-shell/wiki/Writing-Systems-and-Fonts) | Is [RTL](http://en.wikipedia.org/wiki/Right-to-left)? | Has dictionary? |" > WikiLanguages + print "| Code | Name | Family | [Writing system](https://github.com/soimort/translate-shell/wiki/Writing-Systems-and-Fonts) | Is [RTL](https://en.wikipedia.org/wiki/Right-to-left)? | Has dictionary? |" > WikiLanguages print "| :--: | ---: | -----: | :------------: | :---------------------------------------------------: | :-------------: |" > WikiLanguages saveSortedIn = PROCINFO["sorted_in"] PROCINFO["sorted_in"] = "@ind_num_asc" @@ -121,8 +121,8 @@ function wiki( code, group, iso, language, saveSortedIn) { #language = length(group) == 1 ? group[1] "_language" : # group[2] ~ /^\(.*\)$/ ? group[1] "_language" : join(group, "_") print sprintf("| **`%s`**
[`%s`](%s) | **[%s](%s)**
**%s** | %s | `%s` | %s | %s |", - getCode(code), iso, "http://www.ethnologue.com/language/" iso, - getName(code), "http://en.wikipedia.org/wiki/ISO_639:" iso, getEndonym(code), + getCode(code), iso, "https://www.ethnologue.com/language/" iso, + getName(code), "https://en.wikipedia.org/wiki/ISO_639:" iso, getEndonym(code), getFamily(code), getScript(code), isRTL(code) ? "✓" : NULLSTR, hasDictionary(code) ? "✓" : NULLSTR) > WikiLanguages diff --git a/include/LanguageData.awk b/include/LanguageData.awk index 09dac9bd..f9fe1fe8 100644 --- a/include/LanguageData.awk +++ b/include/LanguageData.awk @@ -11,7 +11,7 @@ # See: # # -# +# function initLocale() { # Afrikaans @@ -2787,7 +2787,7 @@ function initLocaleAlias( i) { } # Other aliases - # See: + # See: LocaleAlias["in"] = "id" # withdrawn language code for Indonesian LocaleAlias["iw"] = "he" # withdrawn language code for Hebrew LocaleAlias["ji"] = "yi" # withdrawn language code for Yiddish diff --git a/include/LanguageHelper.awk b/include/LanguageHelper.awk index 4eaf22ab..bf05b605 100644 --- a/include/LanguageHelper.awk +++ b/include/LanguageHelper.awk @@ -122,7 +122,7 @@ function compName(i1, v1, i2, v2) { # Return the name of script (writing system). # See: -# +# function scriptName(code) { switch (code) { case "Arab": return "Arabic" diff --git a/include/REPL.awk b/include/REPL.awk index d817b291..c0973483 100644 --- a/include/REPL.awk +++ b/include/REPL.awk @@ -18,7 +18,7 @@ function prompt( i, p, temp) { # Roughly following ISO 8601:1988, with the notable exception of "%S", "%t" and "%T". # GNU libc extensions like "%l", "%s" and "%_*" are not supported. # See: - # + # if (p ~ /%a/) gsub(/%a/, strftime("%a"), p) if (p ~ /%A/) gsub(/%A/, strftime("%A"), p) if (p ~ /%b/) gsub(/%b/, strftime("%b"), p) diff --git a/include/Translators/YandexTranslate.awk b/include/Translators/YandexTranslate.awk index 64d50479..6bad9989 100644 --- a/include/Translators/YandexTranslate.awk +++ b/include/Translators/YandexTranslate.awk @@ -6,7 +6,7 @@ BEGIN { provides("yandex") } function genSID( content, group, temp) { - content = curl("http://translate.yandex.com") + content = curl("https://translate.yandex.com") match(content, /SID:[[:space:]]*'([^']+)'/, group) if (group[1]) { @@ -47,7 +47,7 @@ function yandexGetDictionaryResponse(text, sl, tl, hl, content, header, isBod split(sl, group, "-"); sl = group[1] split(tl, group, "-"); tl = group[1] - url = "http://dictionary.yandex.net/dicservice.json/lookupMultiple?" \ + url = "https://dictionary.yandex.net/dicservice.json/lookupMultiple?" \ "&text=" preprocess(text) "&dict=" sl "-" tl content = curl(url) # but why?!