Translation Maintenance

July 26, 2026 ยท View on GitHub

General contribution and local-development instructions are in the repository README.

Run message-handling.sh from this directory to maintain the website's Babel translation catalogues:

./message-handling.sh extract          # Regenerate messages.pot
./message-handling.sh update           # Update every existing PO catalogue
./message-handling.sh update LANGUAGE  # Update one PO catalogue
./message-handling.sh init LANGUAGE    # Initialize a new PO catalogue
./message-handling.sh compile          # Compile PO catalogues for local use

Contributors changing translatable source strings normally need only the extract command and should commit the resulting messages.pot change. Translated .po files are synchronized through the Subsurface website project on Transifex and should not be edited in pull requests.