This site runs Weblate for translating the software projects listed below. You need to be logged in to translate, otherwise you can only make suggestions.

To instanciate a new Weblate project for an Odoo project, follow this steps:
1) Login into the weblate machine (weblate.acsone.eu)
2) Log as "weblate" user
3) Activate the dedicated virtual environnement (/home/weblate/venv/)
4) Launch following command:
wocg-create-project --repository $SSH_REPOSITORY_URL --branch $TARGET_BRANCH --tmpl-component-slug 0-acsone-project-template-addon --addons-subdirectory=$ADDONS_SUBDIRECTORY --use-ssh
SSH_REPOSITORY_URL = Url to clone repository and push changes (ex: git@github.com:user/project)
TARGET_BRANCH = normally master but could be based on the Odoo version
ADDONS_SUBDIRECTORY = specify where custom addons are stored (for odoo >= 10, odoo/addons)
5) This command will create a new project and a base component. (Be careful, the project/component will be created only if there is at least one .pot file for an addon)
6) A CRON will creates missing components for other addons wich contains a .pot file.

If you want more information about how to generate .pot files for every addon, please check this link.
If you want to integrate translations during the continous integration process, you can check the .gilatb-ci.yml template.
Project Translated Words

Browse all 0 projects