Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.57 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.57 KB

Translations for foundation.mozilla.org

Build Status

Process foundation.mozilla.org's translations and upload them to S3.

Contributing

Visit the following projects to contribute translations:

Updating dependencies for this project

Django's version must be the same as the foundation site. Use pip-tools to update dependencies:

  • Create a virtual-env: python3 -m venv venv
  • Install pip-tools: pip install pip-tools
  • Edit the requirements.in file
  • Run pip compile
  • Open a PR with both requirements.in and requirements.txt

Enabling a new locale

  • Add folders using the ab-CD format in all locations, whether it will be enabled in the .toml file or not
  • Add symlinks using the ab_CD format, each pointing to the associated ab-CD folder
  • Update the .toml file and add your new locale to the appropriate project(s)
  • Run inv makemessages from the code repository
  • Make sure correct plural rules (i.e not the default one) are populated in each of the new .po files, or else Wagtail is going to choke on it

License

Translations in this repository are available under the terms of the Mozilla Public License v2.0.