API
Here you can find the API for the translate.config.js:
Argument | Description |
---|---|
authToken | Required token to authenticate with Lingohub |
projectId | The project name as configured in Lingohub (make it all lowercase and replace spaces with "-") |
organisationId | The organisation name as configured in Lingohub |
primaryFile | The primary language filename, which will be used to push translation keys to Lingohub |
secondaryFiles | The secondary language files, which should be fetched from Lingohub |
output.folder (optional) | Foldername where language files should be placed (from root), defaults to translations |