Key | Type | Discussion |
---|---|---|
data | [TranslationKey] | An array of ExportTranslationKeys. See schema. |
unrecognizedKeys | [string]? | An array of keys. Maybe be omitted from response. It is only present and populated if the request specified the keys. See export request schema for details. |
TranslationKey Schema
Key | Type | Discussion |
---|---|---|
key | string | Unique identifier for the key |
description | string | Translation description provided to help translators produce better quality translations. |
isPlural | bool | Indicates whether the key is plural or not. |
capitalization | int | Capitalization preference for the translations within this key. Can be one of the following: 37: Original -> No capitalization preference. Translation text is not changed. 10: LowerCase -> All translations are lowercased. 68: UpperCase -> All translations are uppercased. 52: CapitalizeEachWord -> Each word starts with an upper case. Note: All the translations in the export response already have capitalization preferences applied. |
customAttributes | [string:string] | Arbitrary set of attributes in the form of Dictionary<string, string>. For some file formats, these attributes are used to map the key back in the source system correctly. |
translations | [Translation] | An array of Translations. See schema. |
Translation Schema
Key | Type | Discussion |
---|---|---|
languageCode | string | Language code in Java style such as es_MX or fr_CA. This would be one of your languages in your project. |
isBase | bool | Whether this translation is for your project's base language or not. |
pluralForm | string | Plural form for this translation. For non-plural keys, this value will be the default plural form for that language. Can be one of the following: zero, one, two, few, many, other. See default plural forms in all of the languages we support. |
translation | string | Provided phrase - can include placeholders. |
Example
{ "data": [ { "key": "pay_as_you_go", "description": "Your monthly bills will be adjusted according to how much you use our services.", "isPlural": false, "capitalization": 37, "customAttributes": { "fileId": "jdiebxhs-83bdhs" }, "translations": [ { "isBase": true, "languageCode": "en_GB", "pluralForm": "one", "translation": "Pay as you go" }, { "isBase": false, "languageCode": "ar_EH", "pluralForm": "one", "translation": "ادفع كما تذهب" }, { "isBase": false, "languageCode": "it_IT", "pluralForm": "one", "translation": "Paga come vai" }, { "isBase": false, "languageCode": "ko", "pluralForm": "other", "translation": "당신이가는대로 지불" }, { "isBase": false, "languageCode": "pa", "pluralForm": "one", "translation": "ਜਿਵੇਂ ਤੁਸੀਂ ਜਾਂਦੇ ਹੋ ਭੁਗਤਾਨ ਕਰੋ" } ] } ], }