Skip to content

Automate adding new components to Weblate

Originally created by @Anonymous on #15356 (Redmine)

For weblate to start tracking a file, we need to add it to the database BY HAND.
There is no way to do that for all the files, you need to add the folder information.
more info: https://docs.weblate.org/en/latest/admin/management.html#import-project

sudo -u weblate ./manage.py import_project \
—component-regexp ‘wiki/src/security/(?P.)\.([^.])\.po$’ \
tails weblate://tails/index master \
wiki/src/security/****.*.po

Parent Task: tails/sysadmin#15082

Related issues

Edited by Anonymous