7.. _searx@transifex: https://www.transifex.com/asciimoo/searx/
9Translation currently takes place on `searx@transifex`_
15* Installed CLI tool of Transifex
20After installing ``transifex`` using pip, run the following command to
21initialize the project.
25 tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
28After ``$HOME/.transifexrc`` is created, get a Transifex API key and insert it
29into the configuration file.
31Create a configuration file for ``tx`` named ``$HOME/.tx/config``.
36 host = https://www.transifex.com
38 file_filter = searx/translations/<lang>/LC_MESSAGES/messages.po
39 source_file = messages.pot
48 tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_MESSAGES/messages.po' \
49 --source-lang en --type PO --source-file messages.pot --execute
55To retrieve the latest translations, pull it from Transifex.
61Then check the new languages. If strings translated are not enough, delete those
62folders, because those should not be compiled. Call the command below to compile
67 pybabel compile -d searx/translations
70After the compilation is finished commit the ``.po`` and ``.mo`` files and
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list