crowdin-cli-v1
crowdin-cli-v1 copied to clipboard
What's the diff between identifier and source phrase in CSV
Can't find info about difference/usage of identifier and source_phrase in CSV format.
Found some description https://support.crowdin.com/api/add-file/ but don't know what to put in them
If you have repeated texts for translation (source_phrase) across rows but they may have different context and thus should be translated differently, it's a good idea to add a column with unique identifiers for each row in the spreadsheet, so each string can be handled separately. Without identifiers defined, system will consider source texts as identifiers. Also, if you generate CSV out of your database, commonly each string here has its own unique ID and you can map column with IDs using identifier parameter. Live sample of spreadsheets with identifiers:
Identifier | Source Phrase | Translation |
---|---|---|
1 | Text for translation 1 | Some translation 1 |
2 | Text for translation 2 | Some translation 2 |
The proper configuration here is:
scheme: identifier,source_phrase,translation