Closed IASamoylov closed 4 years ago
Hello.
We had an inconsistency in the cli flags. Cli has --convert-placeholders=false
by default, but the. api's default was true
.
In 2.5.0 we have changed the default to --convert-placeholders=true
.
https://github.com/lokalise/lokalise-cli-2-go/releases/tag/v2.5.0
@beinarovic hello.
I get the same result when --convert-placeholder
is true and false.
docker run --net=host --rm -v $($volume):/opt/src/en.json lokalise/lokalise-cli-2:2.5.1 lokalise2 --token $($token) --project-id $($projectId) file upload --replace-modified --file /opt/src/en.json --lang-iso en --convert-placeholders true --poll
@IASamoylov The correct flag would be --convert-placeholders=false
in your case.
The default was false
before... And bool flags should be passed with =
separator.
@beinarovic thank you, this is working
No problem, have a nice day!
After upgrading to version 2.5.1, template strings do not load correctly.
Exmaple:
Version 2.3.0:
Version 2.5.1: