|
1
|
{ |
|
2
|
"Locale": { |
|
3
|
"filePath": "packages/modules/translation/src/models/locale.ts", |
|
4
|
"properties": { |
|
5
|
"id": "The ID of the locale.", |
|
6
|
"code": "The code of the locale in BCP 47 format. For example, `en-US`.", |
|
7
|
"name": "The display name of the locale" |
|
8
|
}, |
|
9
|
"deprecated": { |
|
10
|
"is_deprecated": false |
|
11
|
} |
|
12
|
}, |
|
13
|
"Translation": { |
|
14
|
"filePath": "packages/modules/translation/src/models/translation.ts", |
|
15
|
"properties": { |
|
16
|
"id": "The ID of the translation.", |
|
17
|
"reference_id": "The ID of the resource that this translation belongs to. For example, the product ID.", |
|
18
|
"reference": "The name of the table that the resource belongs to. For example, `product`.", |
|
19
|
"locale_code": "The translation's locale code in BCP 47 format. For example, `en-US`.", |
|
20
|
"translations": "The key-value pairs of the translated fields. The key is a property in the referenced resource, and the value is the translated value for that property.", |
|
21
|
"translated_field_count": "The translated field count of the translation" |
|
22
|
}, |
|
23
|
"deprecated": { |
|
24
|
"is_deprecated": false |
|
25
|
} |
|
26
|
}, |
|
27
|
"TranslationSettings": { |
|
28
|
"filePath": "packages/modules/translation/src/models/settings.ts", |
|
29
|
"properties": { |
|
30
|
"id": "The ID of the translation settings.", |
|
31
|
"entity_type": "The entity type of the translation settings", |
|
32
|
"fields": "The fields of the translation settings\n\n@example [\"title\", \"description\", \"material\"]", |
|
33
|
"is_active": "Whether the translation settings is active.\n\n@since 2.13.0" |
|
34
|
}, |
|
35
|
"since": "2.12.4", |
|
36
|
"deprecated": { |
|
37
|
"is_deprecated": false |
|
38
|
} |
|
39
|
} |
|
40
|
} |