Metadata-Version: 2.4
Name: ddtp-translate
Version: 0.14.4
Summary: Translate Debian package descriptions via DDTP
Author-email: Daniel Nylander <daniel@danielnylander.se>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/yeager/ddtp-translate
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Localization
Classifier: Environment :: X11 Applications :: GTK
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: translate
Requires-Dist: po-translate; extra == "translate"
Dynamic: license-file

# DDTP Translate [![Version](https://img.shields.io/badge/version-0.14.4-blue.svg)](https://github.com/yeager/ddtp-translate)

## Screenshot

![DDTP Translate](screenshots/main.png)

## Description

DDTP Translate is a GTK4/Adwaita application for translating Debian package descriptions via the DDTP (Debian Description Translation Project). The application provides an intuitive interface for translators to contribute to Debian package description translations, helping make Debian more accessible to users worldwide.

The application streamlines the translation workflow by providing easy access to untranslated descriptions, translation memory features, and quality assurance tools for reviewing existing translations.

## Features

- Translate Debian package descriptions
- Browse untranslated and pending descriptions
- Review and edit existing translations
- Translation memory and suggestions
- Quality assurance tools
- Modern GTK4/Adwaita interface
- Offline translation capabilities
- Batch translation support

## Installation

### PyPI / pipx (Debian/Ubuntu)

Install GTK4, libadwaita and the system PyGObject bindings first; pip cannot
install these native system libraries:

```bash
sudo apt install python3-gi gir1.2-gtk-4.0 gir1.2-adw-1 pipx
pipx install --system-site-packages ddtp-translate
```


### APT Repository (Debian/Ubuntu)

```bash
echo "deb https://yeager.github.io/debian-repo stable main" | sudo tee /etc/apt/sources.list.d/yeager-l10n.list
sudo apt update
sudo apt install ddtp-translate
```

### Building from Source

```bash
git clone https://github.com/yeager/ddtp-translate.git
cd ddtp-translate
pip install -e .
```

## Translation

Translations are maintained through GitHub pull requests. Copy the template
catalogue in [`po/ddtp-translate.pot`](po/ddtp-translate.pot) to a new locale
file such as `po/de.po`, translate it with a gettext editor, then open a PR.
Run `msgfmt --check po/<locale>.po` before submitting it. See
[CONTRIBUTING.md](CONTRIBUTING.md) for the full review workflow.

## License

GPL-3.0-or-later

## Author

Daniel Nylander (daniel@danielnylander.se)
