Ok guys so I'm using ngx-translate with json files. Now here's the issue, I want to use the map inside the json, and put it in a map inside the ts file. The json file example :
"edit" : {
"title": "Change profile",
"avatar" : {
"topTypes" : [
{
"key" : "LongHairBigHair",
"value" : "Wavy Hair"
},
{
"key" : "LongHairBob",
"value" : "Shoulder Hair"
}
]
}
}
how would I put these values inside a typescript map using the translationservice?