Raw
1 type: object
2 description: The translation statistics details.
3 x-schemaName: AdminTranslationStatisticsResponse
4 required:
5 - statistics
6 properties:
7 statistics:
8 type: object
9 description: >-
10 The translation statistics for different entity types. The key is the
11 entity type, and the value is an object containing the statistics for that
12 entity type.
13 example:
14 product:
15 expected: 150
16 translated: 120
17 missing: 30
18 by_locale:
19 fr-FR:
20 expected: 150
21 translated: 120
22 missing: 30
23 required:
24 - by_locale
25 - expected
26 - translated
27 - missing
28 additionalProperties:
29 type: object
30 properties:
31 by_locale:
32 type: object
33 description: >-
34 The translation statistics of an entity type broken down by locale.
35 The key is the locale code in BCP 47 format, and the value is an
36 object containing the statistics for that locale.
37 example:
38 fr-FR:
39 expected: 150
40 translated: 120
41 missing: 30
42 required:
43 - expected
44 - translated
45 - missing
46 additionalProperties:
47 type: object
48 properties:
49 expected:
50 type: number
51 title: expected
52 description: The total number of translatable fields.
53 translated:
54 type: number
55 title: translated
56 description: The number of translated fields.
57 missing:
58 type: number
59 title: missing
60 description: The number of fields that are yet to be translated.
61 expected:
62 type: number
63 title: expected
64 description: The total number of translatable fields across specified locales.
65 translated:
66 type: number
67 title: translated
68 description: The number of translated fields across specified locales.
69 missing:
70 type: number
71 title: missing
72 description: >-
73 The number of fields that are yet to be translated across specified
74 locales.