MCPcopy Index your code
hub / github.com/dialect-app/dialect

github.com/dialect-app/dialect @2.6.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.6.1 ↗ · + Follow
331 symbols 954 edges 28 files 103 documented · 31% updated 56d ago2.6.1 · 2025-07-27★ 67137 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Arch Linux

The stable version is available from the official Extra repository: dialect and the latest git revision is available as an AUR package: dialect-git

Fedora

Dialect is available for Fedora 33 and later:

sudo dnf install dialect

Debian

Dialect is available in Debian 12:

sudo apt-get install dialect

Building

Requirements

  • Python 3 (>=3.10) python
  • PyGObject (>=3.51.0) python-gobject
  • GTK4 (>= 4.16.0) gtk4
  • libadwaita (>= 1.6.0) libadwaita
  • libsoup (>= 3.0) libsoup
  • libsecret
  • GStreamer 1.0 gstreamer
  • Meson meson
  • Ninja ninja
  • gTTS python-gtts
  • Beautiful Soup python-beautifulsoup4

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

Core symbols most depended-on inside this repo

get
called by 43
dialect/providers/soup.py
get
called by 38
dialect/session.py
format_url
called by 21
dialect/providers/base.py
error
called by 15
dialect/widgets/speech_button.py
send_notification
called by 12
dialect/window.py
_check_speech_enabled
called by 9
dialect/window.py
denormalize_lang
called by 9
dialect/providers/base.py
add_lang
called by 8
dialect/providers/base.py

Shape

Method 275
Class 48
Function 8

Languages

Python100%

Modules by API surface

dialect/window.py66 symbols
dialect/providers/base.py42 symbols
dialect/settings.py20 symbols
dialect/widgets/lang_selector.py19 symbols
dialect/providers/modules/google.py14 symbols
dialect/providers/modules/libretrans.py13 symbols
dialect/providers/modules/deepl.py13 symbols
dialect/main.py13 symbols
dialect/providers/modules/lingva.py12 symbols
dialect/providers/__init__.py12 symbols
dialect/languages.py12 symbols
dialect/providers/soup.py11 symbols

For agents

$ claude mcp add dialect \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact