Its implemented!11
In May i begun to work on a Project how i want to use #Crowdin for translations. And tried to display the translation progress as easy as fuck.
Crowdin offers Badgets per Language, but they used an indexed #json #array. The #Badget jsonpath query select a specific, hardcoded index. In case the index change – you are fucked.
So i invent a solution for a working jsonpath query and offered #Crowdin to implement it. And they did!
old style
bevor the solution was implemented the query for languages looks like
$.progress.(n).data.translationProgress
$.progress.(n).data.approvalProgress
new style
the new jsonpath query is
$.progress[?(@.data.languageId==%27%bs%27%)].data.translationProgress
$.progress[?(@.data.languageId==%27%bs%27%)].data.approvalProgress
you need to notice, thats needed to escape the ' char as %27% to get it working.
Hopefully you can enjoy the new “feature”!