/dialect

A translation app for GTK environments based on Google Translate.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Dialect

A translation app for GNOME based on Google Translate.

Dialect

Features

  • Translation based on the googletrans Python API, an unofficial API for Google Translate
  • Translation history
  • Automatic language detection
  • Text to speech
  • Clipboard button

Installation

Flathub

Download on Flathub

AUR

Arch-based distro users can install from the AUR: dialect for the stable version or dialect-git for the latest git revision.

Building

Requirements

  • Python 3 python
  • PyGObject python-gobject
  • GTK3 gtk3
  • libhandy (>= 0.90.0) libhandy
  • GStreamer 1.0 gstreamer
  • Meson meson
  • Ninja ninja
  • Googletrans python-googletrans
  • gTTS python-gtts
  • D-Bus python3-dbus

If official packages are not available for any of the python dependencies, you can install them from pip:

pip install googletrans gtts

Building from Git

git clone https://github.com/gi-lom/dialect.git
cd dialect
meson builddir --prefix=/usr/local
sudo ninja -C builddir install

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GNU General Public License 3 or later