/dialect

A translation app for GNOME.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Dialect

A translation app for GNOME.

Dialect

Features

  • Translation based on Google Translate
  • Translation based on the LibreTranslate API, allowing you to use any public instance
  • Translation based on Lingva Translate API
  • Translation based on Bing
  • Translation based on Yandex
  • Translation history
  • Automatic language detection
  • Text to speech
  • Clipboard buttons

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.

Fedora

Dialect is available for Fedora 33 and later:

sudo dnf install dialect

Building

Requirements

  • Python 3 python
  • PyGObject python-gobject
  • GTK4 gtk4
  • libadwaita (>= 1.2.0) libadwaita
  • GStreamer 1.0 gstreamer
  • Meson meson
  • Ninja ninja
  • gTTS python-gtts
  • D-Bus python-dbus
  • Beautiful Soup python-beautifulsoup4
  • Gnome Screenshot gnome-screenshot
  • Imagemagick imagemagick
  • Python pytesseract python-pytesseract
  • Tesseract Ocr tesseract-ocr

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

pip install gtts

Building from Git

‍‍```

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

For testing and development purposes, you may run a local build:

git clone --recurse-submodules https://github.com/dialect-app/dialect.git
cd dialect
meson builddir
meson configure builddir -Dprefix=$(pwd)/builddir/testdir
ninja -C builddir install
ninja -C builddir run

Contributing

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

Translations

Dialect has already been translated into many languages (see the translations repository file). Please help translate Dialect into more languages through Weblate.

Translation status

License

GNU General Public License 3 or later