Skip to content

API

Here you can find the API for the translate.config.js:

ArgumentDescription
authTokenRequired token to authenticate with Lingohub
projectIdThe project name as configured in Lingohub (make it all lowercase and replace spaces with "-")
organisationIdThe organisation name as configured in Lingohub
primaryFileThe primary language filename, which will be used to push translation keys to Lingohub
secondaryFilesThe secondary language files, which should be fetched from Lingohub
output.folder (optional)Foldername where language files should be placed (from root), defaults to translations