# Alfred dict.cc workflow

[Alfred](https://www.alfredapp.com/) workflow to get translations from [dict.cc](http//dict.cc).

If you like this workflow give this repo a star ⭐

![Exmple animation](alfred-dict.cc-example.gif)

## Download
Click [here](https://github.com/dennis-tra/alfred-dict.cc-workflow/releases/tag/v1.0.0) and download `Dict.cc.alfredworkflow`

## Supported Languages
English, German, French, Swedish, Spanish, Bulgarian, Romanian, Italian, Portuguese, Russian

## Command
`dict $lang1 $lang2 word_to_translate`

You can omit `$lang1` and `$lang2` to just translate between german and english (both directions!).

Possible values for `$lang1` and `$lang2`:


| Abbreviation  | Language  |
|---------------|---|
| en, eng | english |
| de, ger | german |
| fr, fra | french |
| sv, swe | swedish |
| es, esp | spanish |
| bg, bul | bulgarian |
| ro, rom | romanian |
| it, ita | italian |
| pt, por | portuguese |
| ru, rus | russian |

## Acknowledgement
The dict.cc website parser is based on [rbarons](https://github.com/rbaron/dict.cc.py) work. Thanks for that!
