koala-framework/kwf-zanata

dev-master 2021-08-24 10:27 UTC

This package is auto-updated.

Last update: 2024-10-24 17:16:11 UTC


README

To use zanta you will need a user and api-token. Please add it to a config file in your home directory:

~/.config/koala-framework/kwf-zanata/config

It should look like this:

{
    "user": "yourUserName",
    "apiToken": "yourApiKey"
}

composer.json extra entry should look like this:

...
"extra": {
    "kwf-zanata": {
        "project": "my-project",
        "version": "2",
        "docId": "resourceFile",
        "restApiUrl": "https://translate.zanata.org/rest"
    },
    ...
},
...
  • docId is the name of the uploaded translation-file.
  • Use restApiUrl to access custom deployed zanata instance