An open API service indexing awesome lists of open source software.

https://github.com/arvis-workflows/arvis-language-configuration

The pre-workfow of Google Translate for config language pair
https://github.com/arvis-workflows/arvis-language-configuration

arvis arvis-workflow arvish google-translate

Last synced: 3 days ago
JSON representation

The pre-workfow of Google Translate for config language pair

Awesome Lists containing this project

README

          

# arvis-language-configuration

## Installation

### With NPM

- Install the original workflow with `npm install -g arvis-google-translate`.
- Install this configuration workflow with `npm install -g arvis-language-configuration`.

## Usage

- Assign a *source* and *target* langauge by either… (See [Supported Language List](#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](media/config2.png)

![config.png](media/config.png)

![ls.png](media/ls.png)

## 🔗 This workflow is converted from [alfred-workflow](https://github.com/xfslove/alfred-language-configuration).

* Note that there might be some code change or different actions from the original workflow.

* Marked original workflow's creator to author.

## 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|