# 使用 Homebrew, apt, dnf, MacPorts, pacman, zypper 安装 translate-toolkit

查看 translate-toolkit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:translate-toolkit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install translate-toolkit
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install translate-toolkit
```

  证据: MacPorts ports tree: textproc/translate-toolkit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install translate-toolkit
```

  证据: Debian stable package indexes: translate-toolkit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install translate-toolkit
```

  证据: Fedora Rawhide package metadata: translate-toolkit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S translate-toolkit
```

  证据: Arch Linux sync databases: translate-toolkit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install python313-translate-toolkit
```

  证据: openSUSE Tumbleweed package metadata: python313-translate-toolkit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:translate-toolkit
- **软件包管理器:** Homebrew
- **版本:** 3.19.17
- **来源摘要:** Toolkit for localization engineers
- **主页:** <https://toolkit.translatehouse.org/>
- **仓库:** <https://github.com/translate/translate>
- **最后更新:** 2026-08-01T16:06:04Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- android2po (别名)
- arb2po (别名)
- asciidoc2po (别名)
- csv2po (别名)
- csv2tbx (别名)
- dtd2po (别名)
- flatxml2po (别名)
- fluent2po (别名)
- html2po (别名)
- ical2po (别名)
- idml2po (别名)
- ini2po (别名)
- json2po (别名)
- junitmsgfmt (别名)
- md2po (别名)
- mdx2po (别名)
- moz2po (别名)
- mozfunny2prop (别名)
- mozlang2po (别名)
- odf2po (别名)
- odf2xliff (别名)
- oo2po (别名)
- oo2xliff (别名)
- php2po (别名)
- phppo2pypo (别名)
- po2asciidoc (别名)
- po2csv (别名)
- po2dtd (别名)
- po2flatxml (别名)
- po2html (别名)
- po2ical (别名)
- po2idml (别名)
- po2ini (别名)
- po2json (别名)
- po2md (别名)
- po2mdx (别名)
- po2moz (别名)
- po2mozlang (别名)
- po2odf (别名)
- po2oo (别名)
- po2php (别名)
- po2prop (别名)
- po2rc (别名)
- po2resx (别名)
- po2sub (别名)
- po2symb (别名)
- po2tiki (别名)
- po2tmx (别名)
- po2toml (别名)
- po2ts (别名)
- po2txt (别名)
- po2web2py (别名)
- po2wordfast (别名)
- po2wxl (别名)
- po2xliff (别名)
- po2yaml (别名)
- poclean (别名)
- pocommentclean (别名)
- pocompendium (别名)
- pocompile (别名)
- poconflicts (别名)
- pocount (别名)
- podebug (别名)
- pofilter (别名)
- pogrep (别名)
- pomerge (别名)
- pomigrate2 (别名)
- popuretext (别名)
- poreencode (别名)
- porestructure (别名)
- posegment (别名)
- posplit (别名)
- poswap (别名)
- pot2po (别名)
- poterminology (别名)
- pretranslate (别名)
- prop2mozfunny (别名)
- prop2po (别名)
- pydiff (别名)
- pypo2phppo (别名)
- rc2po (别名)
- resx2po (别名)
- sub2po (别名)
- symb2po (别名)
- tbx2po (别名)
- template2translation (别名)
- tiki2po (别名)
- toml2po (别名)
- ts2po (别名)
- txt2po (别名)
- web2py2po (别名)
- wxl2po (别名)
- xliff2odf (别名)
- xliff2oo (别名)
- xliff2po (别名)
- yaml2po (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.19.17
## 项目历史与用法

Translate Toolkit is a long-running collection of localization command-line tools and Python APIs for converting, checking, counting, reviewing, and manipulating translation files. It is one of the older package-manager-visible tool suites in the i18n and gettext ecosystem.

### 项目历史

The official history says the toolkit was developed by David Fraser while working for Translate.org.za. It began after Translate.org.za moved from KDE translation work, which was PO based, to Mozilla translation work using DTD and `.properties` files; the initial tools, called mozpotools, converted those formats into PO so translators could keep using existing PO workflows.

As the project grew, pofilter was created to catch translation breakage around variables and accelerators, pomerge was created to merge fixes back, and pocount gave teams a better measure of translation volume. The toolkit then expanded to OpenOffice.org, TMX, Qt `.ts`, text, and OpenOffice.org SXW support, with the core idea that formats could be converted to PO for use with Gettext tools and existing translations.

The 2006 WordForge project funded deeper architectural changes, including base storage classes for PO and XLIFF, more consistent handling of encodings and plural forms, translation-memory and glossary tooling, and adaptation of Pootle to use XLIFF as well as PO. Later ANLoc work produced further format support and improvements across the translation tools.

### 采用历史

Translate Toolkit has been adopted by localization engineers because it covers both command-line batch operations and reusable Python storage classes. The official README describes converters to common PO and XLIFF formats, QA tools, terminology tools, and storage support for DTD, properties, OpenOffice.org GSI/SDF, CSV, MO, Qt `.ts`, TMX, TBX, Gettext, Windows RC, PO, and XLIFF.

The toolkit also became infrastructure for related localization applications. The official history says Pootle became a web wrapper around the file-based toolkit and Pootling became a GUI wrapper in the same spirit, while the release notes explicitly tell users of Weblate, Pootle, Virtaal, and other applications that use the toolkit to watch toolkit changes.

### 使用方式

Users install the toolkit through Python packaging or distribution packages, then call many small commands such as `po2xliff`, `xliff2po`, `moz2po`, `csv2po`, `pofilter`, `pomerge`, `pocount`, `pogrep`, `pocompile`, and `poterminology`. The common pattern is to convert a source format into PO or XLIFF, run QA or review tooling, and convert or merge results back into the target project format.

### 为什么软件包爱好者会关心

For package nerds, Translate Toolkit is significant because it is not one executable but a dense toolbox of format converters and QA utilities. Packaging it exposes a large suite of commands for build systems, localization teams, downstream distributions, and translation-platform maintainers.

Its history is also a useful reminder that package-manager i18n tools often come from real localization production needs: Mozilla, OpenOffice.org, Gettext, XLIFF, PO, and translation-memory formats all shaped the toolkit's command set.

### 时间线

- Early history: The toolkit began at Translate.org.za as mozpotools for converting Mozilla DTD and `.properties` files to PO.
- Growth phase: pofilter, pomerge, and pocount were added to catch breakage, merge corrections, and measure translation work.
- 2006: The WordForge project funded major PO/XLIFF architecture and tool improvements.
- Later ANLoc work: The project gained more bilingual and monolingual format support and improved translation tools.
- 2026: Official GitHub releases list Translate Toolkit 3.19.13.

### Related projects

- Translate Toolkit is closely related to Translate.org.za, Pootle, Pootling, Virtaal, Weblate, Gettext, XLIFF, and the broader Translate project hosted in the `translate/translate` repository.

### 来源

- <https://api.github.com/repos/translate/translate/releases>
- <https://docs.translatehouse.org/projects/translate-toolkit/en/latest/history.html>
- <https://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/index.html>
- <https://github.com/translate/translate#readme>


## 安全说明

没有找到 translate-toolkit 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Debian apt - python3-translate - 3.15.1-1: normalized package name match | Debian stable package indexes: python3-translate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Toolkit assisting in the localization of software (Python 3) | https://toolkit.translatehouse.org/
- Debian apt - translate-toolkit - 3.15.1-1: normalized package name match | Debian stable package indexes: translate-toolkit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Toolkit assisting in the localization of software | https://toolkit.translatehouse.org/
- Debian apt - translate-toolkit-doc - 3.15.1-1: normalized package name match | Debian stable package indexes: translate-toolkit-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Toolkit assisting in the localization of software (documentation) | https://toolkit.translatehouse.org/
- Ubuntu apt - python3-translate - 3.12.2-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-translate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Toolkit assisting in the localization of software (Python 3) | https://toolkit.translatehouse.org/
- Ubuntu apt - translate-toolkit - 3.12.2-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: translate-toolkit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Toolkit assisting in the localization of software | https://toolkit.translatehouse.org/
- Ubuntu apt - translate-toolkit-doc - 3.12.2-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: translate-toolkit-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Toolkit assisting in the localization of software (documentation) | https://toolkit.translatehouse.org/
- dnf - translate-toolkit - 3.19.13-2.fc45: normalized package name match | Fedora Rawhide package metadata: translate-toolkit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools to assist with translation and software localization | http://toolkit.translatehouse.org/
- pacman - translate-toolkit - 3.19.10-1: normalized package name match | Arch Linux sync databases: translate-toolkit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A toolkit to convert between various different translation formats, help process and validate localisations | https://toolkit.translatehouse.org/
- zypper - python313-translate-toolkit - 3.19.9-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python313-translate-toolkit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tools and API to assist with translation and software localization | https://toolkit.translatehouse.org/
- zypper - python314-translate-toolkit - 3.19.9-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python314-translate-toolkit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tools and API to assist with translation and software localization | https://toolkit.translatehouse.org/
- MacPorts - translate-toolkit: normalized package name match | MacPorts ports tree: textproc/translate-toolkit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/translate-toolkit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/translate-toolkit.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
