Service/Weblate: Difference between revisions
No edit summary |
Changes to adding translation component workflow |
||
(2 intermediate revisions by the same user not shown) | |||
Line 87: | Line 87: | ||
* Create new translation component in Weblate admin menu, ''Add new translation component''; | * Create new translation component in Weblate admin menu, ''Add new translation component''; | ||
* Select Project, we currently have {{Code|core-sugar}} and {{Code|Sugar-Activities}}, core-sugar contains sugar core APIs. | * Select Project, we currently have {{Code|core-sugar}} and {{Code|Sugar-Activities}}, core-sugar contains sugar core APIs. | ||
* Set version control system to | * Set version control system to Git. | ||
* Set source code repository link - using | * Set source code repository link - using ssh -. | ||
* Set repository branch. | * Set repository branch. | ||
* Set File format gettext PO file, File mask po/*.po | * Set File format gettext PO file, File mask po/*.po | ||
* Set Repository push URL to enable autoupdate of changes to Github from weblate. | * Set Repository push URL to enable autoupdate of changes to Github from weblate. | ||
* | * Leave Push branch empty as repository branch would be used. | ||
* On Github, add hook {{Code|https://weblate.sugarlabs.org/hooks/github/}} to activity repo as it's used for automated flow of updates to weblate. | * On Github, add hook {{Code|https://weblate.sugarlabs.org/hooks/github/}} to activity repo as it's used for automated flow of updates to weblate. | ||
* Check license in activity repo matches Translation license selected by weblate or set to the right license. | * Check license in activity repo matches Translation license selected by weblate or set to the right license. | ||
Line 102: | Line 102: | ||
== Synchronization == | == Synchronization == | ||
Weblate automatically pushes changes to Github when there's a change on weblate because of the | Weblate automatically pushes changes to Github when there's a change on weblate because of the Git version control above, the hooks configured in the repos make it easy for weblate to pull changes from Github. | ||
== Backups == | == Backups == |