crowdin / crowdin-cli-v1

A command-line client for the Crowdin API v1
MIT License
84 stars 29 forks source link

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

Open lozhuf opened 8 years ago

lozhuf commented 8 years ago

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 commented 8 years ago

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

Andrulko commented 8 years ago

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