crowdin-cli-v1 icon indicating copy to clipboard operation
crowdin-cli-v1 copied to clipboard

"Source String/Translation" csv scheme column type not documented

Open lozhuf opened this issue 9 years ago • 2 comments

I have a csv file to upload using the command line that has 2 columns - "Identifier (Key)" and "Source String/Translation". In the documentation of the config file's csv scheme field there is no mention of how to specify the source/translation column type. If you dont specify it correctly in the config file you will get an error when running crowdin-cli upload sources:

"File schema must include the "Source String" and "Translation" options."

For those that are also getting this error and stumped by the documentation, I found the solution: source_or_translation

I found it by using the browser's developer tools, and watching network activity when saving a template on the crowdin website.

lozhuf avatar Jan 27 '16 15:01 lozhuf

Note - there still seems to be an problem with this type of scheme... it doesnt work :( I've made another issue about this: #41

lozhuf avatar Jan 28 '16 08:01 lozhuf

Sorry, the documentation on Crowdin side will be updated with all supported values specified.

Currently, you can view all available scheme values in the "Add File" API documentation ("scheme" parameter): https://crowdin.com/page/api/add-file

Andrulko avatar Jan 28 '16 14:01 Andrulko