Skip to content

A translation app for GTK environments based on Google Translate.

License

Notifications You must be signed in to change notification settings

thibaultamartin/dialect

This branch is 607 commits behind dialect-app/dialect:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b489d43 · Jan 4, 2021
Oct 27, 2020
Dec 13, 2020
Dec 13, 2020
Jan 4, 2021
Jan 4, 2021
Nov 6, 2020
Jul 24, 2020
Jan 4, 2021
Jan 4, 2021
Oct 27, 2020
Oct 27, 2020
Oct 27, 2020

Repository files navigation

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 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
  • GTK3 gtk3
  • libhandy (>= 0.90.0) libhandy
  • GStreamer 1.0 gstreamer
  • Meson meson
  • Ninja ninja
  • Googletrans python-googletrans
  • gTTS python-gtts
  • D-Bus python-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

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

git clone https://github.com/gi-lom/dialect.git
cd dialect
meson builddir
meson configure _build -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.

License

GNU General Public License 3 or later

About

A translation app for GTK environments based on Google Translate.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.1%
  • Meson 8.9%
  • CSS 2.0%