This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<p>Translation takes place on <aclass="reference external"href="https://translate.codeberg.org/projects/searxng/">translate.codeberg.org</a>.</p>
<p>Translations which has been added by translators on the <aclass="reference external"href="https://translate.codeberg.org/projects/searxng/">translate.codeberg.org</a> UI are
committed to Weblate’s counterpart of the SearXNG <em>origin</em> repository which is
located at <codeclass="docutils literal notranslate"><spanclass="pre">https://translate.codeberg.org/git/searxng/searxng</span></code>.</p>
<p>There is no need to clone this repository, <aclass="reference internal"href="#searxng-weblate-workflow"><spanclass="std std-ref">SearXNG’s PR workflow to be in sync with Weblate</span></a> take
care of the synchronization with the <em>origin</em>. To avoid merging commits from
the counterpart directly on the <codeclass="docutils literal notranslate"><spanclass="pre">master</span></code> branch of <em>SearXNG origin</em>, a <em>pull
request</em> (PR) is created by this workflow.</p>
<p>Weblate monitors the <aclass="reference external"href="https://github.com/searxng/searxng/tree/translations">translations branch</a>, not the <codeclass="docutils literal notranslate"><spanclass="pre">master</span></code> branch. This
branch is an <aclass="reference external"href="https://git-scm.com/docs/git-checkout#Documentation/git-checkout.txt---orphanltnewbranchgt">orphan branch</a>, decoupled from the master branch (we already know
orphan branches from the <codeclass="docutils literal notranslate"><spanclass="pre">gh-pages</span></code>). The <aclass="reference external"href="https://github.com/searxng/searxng/tree/translations">translations branch</a> contains
only the</p>
<ulclass="simple">
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">translation/messages.pot</span></code> and the</p></li>
<p><spanclass="caption-number">Fig. 3 </span><spanclass="caption-text">SearXNG’s PR workflow to be in sync with Weblate</span><aclass="headerlink"href="#id3"title="Link to this image">¶</a></p>
</figcaption>
</figure>
<dlclass="simple">
<dt>Sync from <em>origin</em> to <em>weblate</em>: using <codeclass="docutils literal notranslate"><spanclass="pre">make</span><spanclass="pre">weblate.push.translations</span></code></dt><dd><p>For each commit on the <codeclass="docutils literal notranslate"><spanclass="pre">master</span></code> branch of SearXNG <em>origin</em> the GitHub job
<dt>Sync from <em>weblate</em> to <em>origin</em>: using <codeclass="docutils literal notranslate"><spanclass="pre">make</span><spanclass="pre">weblate.translations.commit</span></code></dt><dd><p>Every Friday, the GitHub workflow <aclass="extlink-origin reference external"href="https://github.com/searxng/searxng/blob/master/.github/workflows/translations-update.yml">babel / create PR for additions from
<h2>wlc<aclass="headerlink"href="#id2"title="Link to this heading">¶</a></h2>
<p>All weblate integration is done by GitHub workflows, but if you want to use <aclass="reference external"href="https://docs.weblate.org/en/latest/wlc.html">wlc</a>,
copy this content into <aclass="reference external"href="https://docs.weblate.org/en/latest/wlc.html#wlc-config">wlc configuration</a> in your HOME <codeclass="docutils literal notranslate"><spanclass="pre">~/.config/weblate</span></code></p>
<p>Replace <codeclass="docutils literal notranslate"><spanclass="pre">APIKEY</span></code> by your <aclass="reference external"href="https://translate.codeberg.org/accounts/profile/#api">API key</a>.</p>