mirror of
https://github.com/dialect-app/dialect.git
synced 2026-04-04 13:46:24 +00:00
A translation app for GNOME.
| build-aux | ||
| data | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| meson.build | ||
| preview.png | ||
| README.md | ||
Dialect
A translation app for GTK environments based on Google Translate.
Preview
Features
- Translation based on the googletrans Python API, an unofficial API for Google Translate
- Translation history (up to 10 translations, you can open the script and easily edit such number if you prefer more)
- Automatic language detection
- Text to speech
- Clipboard button
Installation
Flathub
Available soon on Flathub.
AUR
Arch-based distro users can install it from AUR.
Building
Requirements
- Python 3
python - PyGObject
python-gobject - GTK3
gtk3 - libhandy (>= 0.90.0)
libhandy - Meson
meson - Ninja
ninja - Googletrans
python-googletrans - gTTS
python-gtts - Pydub
python-pydub
You can install python dependencies from pip:
pip install googletrans gtts pydub
Building from Git
git clone https://github.com/gi-lom/dialect.git
cd dialect
meson builddir --prefix=/usr/local
sudo ninja -C builddir install
How to use
Open Dialect directly from your menu. For starting a translation, press "Enter" or the button between the two text spaces.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
