Metafile
Metafile is a JSON file containing information about the project files and their translated versions.
Metafile is generated automatically when the Localazy project is published.
You can read more about the metafiles in the Localazy CDN - Metafiles documentation.
To use a CDN Client, you need to provide the metafile URL of your project.
Metafile URL
To get your project metafile URL use the following steps:
- select the project from your Dashboard
- navigate to Translation Delivery > CDN
- click on the Metafile URL button
The CDN Meta File dialog will appear and then:
- click on the Copy button to copy the metafile URL to your clipboard
Example Metafile
In this documentation, we will use the following metafile to demonstrate the CDN Client functionalities.
https://delivery.localazy.com/_a855374211039568660198b39c31/_e0.v2.json
json
{
"projectUrl": "https://localazy.com/p/cdnarticle",
"baseLocale": "en",
"timestamp": -8465065979062673572,
"files": {
"dfe5b84c1598c8c56b6f1a11efcd483bb3f417ea": {
"file": "file.json",
"path": "",
"library": "",
"module": "",
"buildType": "",
"timestamp": "-8465065979062673572",
"productFlavors": [],
"locales": [
{
"language": "en",
"region": "",
"script": "",
"isRtl": false,
"name": "English",
"localizedName": "English",
"uri": "/_a855374211039568660198b39c31/_e0/dfe5b84c1598c8c56b6f1a11efcd483bb3f417ea/en/file.json",
"timestamp": "-9223300000000000000"
},
{
"language": "de",
"region": "",
"script": "",
"isRtl": false,
"name": "German",
"localizedName": "Deutsch",
"uri": "/_a855374211039568660198b39c31/_e0/dfe5b84c1598c8c56b6f1a11efcd483bb3f417ea/de/file.json",
"timestamp": "-8549898287605285711"
},
{
"language": "es",
"region": "",
"script": "",
"isRtl": false,
"name": "Spanish",
"localizedName": "Español",
"uri": "/_a855374211039568660198b39c31/_e0/dfe5b84c1598c8c56b6f1a11efcd483bb3f417ea/es/file.json",
"timestamp": "-8550050401790927404"
},
{
"language": "pt",
"region": "PT",
"script": "",
"isRtl": false,
"name": "European Portuguese",
"localizedName": "Português Europeu",
"uri": "/_a855374211039568660198b39c31/_e0/dfe5b84c1598c8c56b6f1a11efcd483bb3f417ea/pt-PT/file.json",
"timestamp": "-8550051169379505755"
},
{
"language": "vi",
"region": "",
"script": "",
"isRtl": false,
"name": "Vietnamese",
"localizedName": "Tiếng Việt",
"uri": "/_a855374211039568660198b39c31/_e0/dfe5b84c1598c8c56b6f1a11efcd483bb3f417ea/vi/file.json",
"timestamp": "-8465065979062673572"
}
]
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68