Strings deleted by default when uploading via CLI

After I remove a string my code locally and then I run crowdin upload, the string is removed from the Crowdin dashboard. Is that expected? I would think no, because I didn’t use the --remove-obsolete parameter. I don’t want the strings to be removed from Crowdin.

Hi Trevor,

This is expected behaviour in file-based projects. If a string is deleted from the file you use to perform an update, the string will also be removed from Crowdin.

If this is not the desired outcome, you might consider switching to a string-based project instead. Please have a look at the Advanced Import Settings.

In string-based projects, the default behaviour of the CLI is to retain old strings in the project rather than delete them.

Just to clarify, the --remove-obsolete parameter works on the file level, removing obsolete files rather than individual strings.