This is my crowdin.yml
file
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
# Choose file structure in Crowdin
# e.g. true or false
preserve_hierarchy: true
# Files configuration
files:
- source: "/packages/webapp/i18n/en/*.json"
dest: "/webapp/en/*.json"
translation: "/packages/webapp/i18n/%locale%/%original_file_name%"
type: "crowdin-json"
In the codebase, all the i18n files lives inside the /packages/webapp/i18n
directory.
But I do not want to show in the same hierarchy structure as in Crowdin.
I tried using the dest
property as show in the docs.
But I am getting this error
❌ File 'webapp/%locale%/auth.json'
❌ Wrong parameters:
<key: storageId, code: fileInvalid, message: Bad response received from custom format endpoint: No strings found>
I am not understand what is the exact issue from the error message itself. Or I am doing it wrong from what I am trying to do?