You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For manipulating with translations, you need gettext and sphinx installed.
Usage
To start new translation,
Add it to the LANGUAGES section of the Makefile.
Copy one of the language folders in ./docs/ to a new folder (named with the
proper language code). This will maintain many symlinked files in that
folder and one regular file config.py.
Edit config.py to change the language = section with the correct
language name.
In the ./po/ folder, copy documentation.pot to create a new .po
file. You may have to also create a .mo file, but I think that happens
automatically on the build server.
Copy one of the folders in ./translated/ to a new folder. This again
creates many symlinks.
To regenerate mofiles run:
make
To obtain statistics about current translations run:
./locales-stats
To update documentation run:
# Force Weblate to commit changes, requires wlc to be installed
wlc commit
# Pull changes from Weblate
git pull
# Update phpMyAdmin submodule
git submodule update --remote
# Update po files to match current docs
make
This automatically updates po files, generates mo files and synchronizes
sources of the documentation. Review changes and commit them using:
git commit -a -m 'Update documentation to match master'
To build documentation in given language (for example Czech):