Installation¶
This is a guide to installing the Translate Toolkit on your system. If the Translate Toolkit is already packaged for your system, this is probably the easiest way to install it. For several Linux distributions, the package might be available through your package manager.
If your system already has the toolkit prepackaged, then please let us know what steps are required to install it.
Download¶
The recommended installation is using uv or pip in a virtual environment.
uv pip install translate-toolkit
You can also download a stable released version and install it manually.
For those who need problems fixed, or who want to work on the bleeding edge, get the latest source from Git.
Installing packaged versions¶
Many Linux distributions come with translate-toolkit packaged, use your distribution command to install it:
On Debian (if you are on etch), just type the following command:
# Debian / Ubuntu
apt install translate-toolkit
# Fedora / RedHat
dnf install translate-toolkit
# openSUSE
zypper install translate-toolkit
Installing on Windows¶
On Windows we recommend that you install Translate Toolkit using a virtual environment. This makes installation clean and isolated.
Use the latest Python 3.9. Install virtualenvwrapper-win to simplify handling of virtualenvs.
Install latest Python 3.9
Open cmd.exe or similar
pip install virtualenvwrapper-win
mkvirtualenv ttk where “ttk” is the name for the new virtualenv
pip install translate-toolkit[recommended] to install latest stable or pip install –pre translate-toolkit[recommended] to try a pre-release
po2prop –version to double check you have the right version
Next times you need to use Translate Toolkit just remember to:
Open cmd.exe or similar
workon ttk to enable the virtualenv again
Run the Translate Toolkit commands you want
Installing from Git¶
If you want to try the bleeding edge, or just want to have the latest fixes from a stabilising branch then you need to use Git to get your sources:
$ git clone https://github.com/translate/translate.git
This will retrieve the master
branch of the Toolkit. Further Git
instructions are also available.
Once you have the sources you have two options, a full install:
$ uv pip install .
or, running the tools from the source directory:
$ uv pip install -e .
Verify installed version¶
To verify which version of the toolkit you have installed run:
$ prop2po --version prop2po 3.15.2