Service/translate: Difference between revisions
Line 111: | Line 111: | ||
=== Create new Pootle project === | === Create new Pootle project === | ||
* Create new project in Pootle admin menu, ''admin->projects''; | * Create new project in Pootle admin menu, ''admin->projects''; | ||
* Add all needed langs; | * Add all needed langs; | ||
* Add new | * Checkout all sources using command: | ||
sudo -u pootle -i python maintenance/helpers/admin/pootlepopulator.py ''pootle-project'' ''git-clone-url'' ''pootle-filename-wo-po-suffix'' ''git-branch'' | |||
* Add new sections to the [[#Files|project_list.ini]] file to describe new {{Code|.pot}} locations; | |||
* Run {{Code|misc/pootle.cron}} script from {{Code|pootle}} user to generate all sufficient files; | * Run {{Code|misc/pootle.cron}} script from {{Code|pootle}} user to generate all sufficient files; | ||
* Call ''Update from templates'' for all languages in newly created project to peek up {{Code|.po}} files symlinked by {{Code|misc/pootle.cron}} script. | * Call ''Update from templates'' for all languages in newly created project to peek up {{Code|.po}} files symlinked by {{Code|misc/pootle.cron}} script. |