<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Crowdin &amp;mdash; sanifair.xyz</title>
    <link>https://blog.sanifair.xyz/tag:Crowdin</link>
    <description>some Blog, about any</description>
    <pubDate>Wed, 30 Sep 2026 01:13:30 +0200</pubDate>
    <item>
      <title>Its implemented!11</title>
      <link>https://blog.sanifair.xyz/its-implemented-11</link>
      <description>&lt;![CDATA[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.&#xA;&#xA;Crowdin offers Badgets per Language, but they used !--more--an indexed #json #array. The #Badget jsonpath query select a specific, hardcoded index. In case the index change - you are fucked.&#xA;&#xA;So i invent a solution for a working jsonpath query and offered #Crowdin to implement it. And they did!&#xA;&#xA;old style&#xA;bevor the solution was implemented the query for languages looks like&#xA;$.progress.(n).data.translationProgress&#xA;$.progress.(n).data.approvalProgress&#xA;&#xA;new style&#xA;the new jsonpath query is&#xA;$.progress[?(@.data.languageId==%27%bs%27%)].data.translationProgress&#xA;$.progress[?(@.data.languageId==%27%bs%27%)].data.approvalProgress&#xA;&#xA;you need to notice, thats needed to escape the &#39; char as %27% to get it working.&#xA;&#xA;Hopefully you can enjoy the new &#34;feature&#34;!&#xA;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>In May i begun to work on a Project how i want to use <a href="https://blog.sanifair.xyz/tag:Crowdin" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Crowdin</span></a> for translations. And tried to display the translation progress as easy as fuck.</p>

<p>Crowdin offers Badgets per Language, but they used an indexed <a href="https://blog.sanifair.xyz/tag:json" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">json</span></a> <a href="https://blog.sanifair.xyz/tag:array" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">array</span></a>. The <a href="https://blog.sanifair.xyz/tag:Badget" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Badget</span></a> jsonpath query select a specific, hardcoded index. In case the index change – you are fucked.</p>

<p>So i invent a solution for a working jsonpath query and offered <a href="https://blog.sanifair.xyz/tag:Crowdin" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Crowdin</span></a> to implement it. And they did!</p>

<h3 id="old-style" id="old-style">old style</h3>

<p>bevor the solution was implemented the query for languages looks like</p>

<pre><code class="language-json">$.progress.(n).data.translationProgress
$.progress.(n).data.approvalProgress
</code></pre>

<h3 id="new-style" id="new-style">new style</h3>

<p>the new jsonpath query is</p>

<pre><code class="language-json">$.progress[?(@.data.languageId==%27%bs%27%)].data.translationProgress
$.progress[?(@.data.languageId==%27%bs%27%)].data.approvalProgress
</code></pre>

<p>you need to notice, thats needed to escape the &#39; char as %27% to get it working.</p>

<p>Hopefully you can enjoy the new “feature”!</p>
]]></content:encoded>
      <guid>https://blog.sanifair.xyz/its-implemented-11</guid>
      <pubDate>Thu, 22 Jun 2023 10:53:49 +0200</pubDate>
    </item>
  </channel>
</rss>