Closed KotschM closed 2 years ago
The fault was mine. Flags/options of type Boolean must be used with a '='.
The correct command is:
lokalise2 \
--token <token> \
--project-id <project_id> \
file upload \
--convert-placeholders=false \
--file ./src/lang/template.json \
--lang-iso en
I tried to upload a file. I do not want the localise placeholder to be inserted. Therefore I used the flag/option "--convert-placeholder". Unfortunately the localise-placeholder is still inserted.
When I upload the file via Lokalise-UI, omitting the Lokalise-placeholder works. Uploading directly via the Lokalise API also works as desired.
The following command creates an upload with Lokalise placeholders:
The following REST call works without problems:
Is there another way to do a file upload without localise placeholders using the CLI tool?