language configuration

The pre-workflow of alfred-google-translate to config language pair

Author: Iven

Last Updated: 16/03/20 12:40:59

Stars: 33

Get Latest Release View on GitHub

alfred-language-configuration

NPM

Installation

Requires the Alfred 3 or 4 Powerpack, Node.js 8+, and the original alfred-google-translate workflow.

With NPM

  • Install the original workflow with npm install -g alfred-google-translate.
  • Install this configuration workflow with npm install -g alfred-language-configuration.

Manually

Changelog

See all past and current releases.

Usage

  • Assign a source and target langauge by either… (See Supported Language List)

    • Choosing a bi-directional langauge pair which will auto-translate either direction using trc [source language keyword]&[target language keyword] (For example trc en&zh-CN will cause the translate workflow to autodetect the target language so tr hello will display a Chinese translation and tr 你好 will display an English translation.).
    • OR by Choosing a one-way translation pair using trc [source language keyword]>[target language keyword] (For example trc en>zh-CN will cause the translate workflow to only translate from English to Chinese.).
  • Get the current configuration with trc ls.

Screenshots

config2.png

config.png

ls.png

Supported Language List

keyword language
af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese Simplified
zh-TW Chinese Traditional
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
he Hebrew
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sr-Latn Serbian Latin
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu