Skip to content

Commit

Permalink
Use skipUntranslatedStrings=true
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Jun 21, 2020
1 parent dced359 commit e0aa0b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/crowdin_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ dispatch::future<void> CrowdinClient::DownloadFile(const long project_id,
"projects/" + std::to_string(project_id) + "/translations/builds/files/" + std::to_string(file_id),
json_data({
{ "targetLanguageId", lang.LanguageTag() },
{ "skipUntranslatedStrings", true },
// for XLIFF and PO files should be exported "as is" so set to `false`
{ "exportAsXliff", !(ext == "xliff" || ext == "xlf" || ext == "po" || ext == "pot") }
}))
Expand Down

0 comments on commit e0aa0b7

Please sign in to comment.