This is an Albert Extension for DeepL translations. This extension has a Albert-style-configuration-dialog.
- formal/informal translation
- helps to find any available language/ISO Code and sets default source/target language temporary for this session or permanent
- temporary and persistent settings (formal, target and source language)
- tracking usage
in your terminal:
git clone https://github.com/Bierchermuesli/albert-deepl.git ~/.local/share/albert/python/plugins/deepl
- restart albert
- enable this extension in plugin Tab
- it might ask you for installing python deepl module
- maybe start albert again :-)
This extension needs a valid DeepL API key. You can optain one on https://www.deepl.com/pro#developer. Please check their policy about usage, privacy.
After you got your key you can install in a Albert-manner like this:
dpl conf set key=xxx
dpl conf save
dpl conf reload
For this special case you have to save and reload the config (or reload albert). The extension has to re-initzailize.
This is just a Idea. ATM only simiple key-value are supported. If you save the values, it is stored as a yaml in configLocation()
, usually ~/.config/albert/DeepL Translate.yaml
- self-describing configuration file?
- dicts / lists?
- move default the conf functions to CPython for other plugins?
any feedback is welcome