on master help sign in
Merge pull request #879 from kvch/gh-pages

[doc] bump version to 0.11 && rewrite Translation page

commit99ad8db26f817b85e2f5f6cbda3b409bb7774bfb authorAdam Tauber <asciimoo@gmail.com> dateSun 19 Mar 2017, 00:16 (10 years ago) parentf4b4181e149103
19 files changed+127−183
_sources/dev/translation.txt+25−44 admin/api.html+3−3 admin/filtron.html+3−3 dev/contribution_guide.html+3−3 dev/engine_overview.html+3−3 dev/install/installation.html+3−3 dev/plugins.html+3−3 dev/quickstart.html+3−3 dev/search_api.html+3−3 dev/translation.html+33−51 docs/conf.py+2−2 docs/dev/translation.rst+25−44 genindex.html+3−3 index.html+3−3 objects.inv+1−1 search.html+3−3 searchindex.js+1−1 user/own-instance.html+3−3 user/search_syntax.html+4−4
_sources/dev/translation.txt+25−44
@@ -1,80 +1,61 @@
11Translation
22===========
33
4−run these commands in the root directory of searx
4+Requirements
5+------------
56
6−Add new language
7−~~~~~~~~~~~~~~~~
7+ * Transifex account
88
9−.. code:: shell
9+ * Installed CLI tool of Transifex
1010
11− pybabel init -i messages.pot -d searx/translations -l it
11+Init Transifex project
12+----------------------
1213
13−Update .po files
14−~~~~~~~~~~~~~~~~
14+After installing ``transifex`` using pip, run the following command to initialize the project.
1515
1616.. code:: shell
1717
18− ./utils/update-translations.sh
18+ tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
1919
20−You may have errors here. In that case, edit the
21−``update-translations.sh`` script to change ``pybabel`` to
22−``pybabel-python2`` or ``pybabel2``
2320
24−After this step, you can modify the .po files.
21+After ``$HOME/.transifexrc`` is created, get a Transifex API key and insert it into the configuration file.
2522
26−Compile translations
27−~~~~~~~~~~~~~~~~~~~~
23+Create a configuration file for ``tx`` named ``$HOME/.tx/config``.
2824
2925.. code:: shell
3026
31− pybabel compile -d searx/translations
27+ [main]
28+ host = https://www.transifex.com
29+ [searx.messagespo]
30+ file_filter = searx/translations/<lang>/LC_MESSAGES/messages.po
31+ source_file = messages.pot
32+ source_lang = en
33+ type = PO
3234
33−Transifex stuff
34−~~~~~~~~~~~~~~~
3535
36−Init Project
37−^^^^^^^^^^^^
36+Then run ``tx set``:
3837
3938.. code:: shell
4039
41− tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
42−
4340 tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_MESSAGES/messages.po' \
4441 --source-lang en --type PO --source-file messages.pot --execute
4542
46−http://docs.transifex.com/client/init/
4743
48−http://docs.transifex.com/client/set/
44+Update translations
45+-------------------
4946
50−Get translations
51−^^^^^^^^^^^^^^^^
47+To retrieve the latest translations, pull it from Transifex.
5248
5349.. code:: shell
5450
5551 tx pull -a
5652
57−http://docs.transifex.com/client/pull
58−
59−Upload source File
60−^^^^^^^^^^^^^^^^^^
61−
62−.. code:: shell
63−
64− tx push -s
65−
66−Upload all Translation
67−^^^^^^^^^^^^^^^^^^^^^^
53+Then check the new languages. If strings translated are not enough, delete those folders, because
54+those should not be compiled. Call the command below to compile the ``.po`` files.
6855
6956.. code:: shell
7057
71− tx push -s -t
72−
73−upload specifc Translation
74−~~~~~~~~~~~~~~~~~~~~~~~~~~
75−
76−.. code:: shell
58+ pybabel compile -d searx/translations
7759
78− tx push -t -l tr
7960
80−http://docs.transifex.com/client/push
61+After the compilation is finished commit the ``.po`` and ``.mo`` files and create a PR.
admin/api.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Administration API &#8212; searx 0.10.0 documentation</title>
9+ <title>Administration API &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="How to protect an instance" href="filtron.html" />
3030 <link rel="prev" title="Installation" href="../dev/install/installation.html" />
3131
admin/filtron.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>How to protect an instance &#8212; searx 0.10.0 documentation</title>
9+ <title>How to protect an instance &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="Development Quickstart" href="../dev/quickstart.html" />
3030 <link rel="prev" title="Administration API" href="api.html" />
3131
dev/contribution_guide.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>How to contribute &#8212; searx 0.10.0 documentation</title>
9+ <title>How to contribute &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="Engine overview" href="engine_overview.html" />
3030 <link rel="prev" title="Development Quickstart" href="quickstart.html" />
3131
dev/engine_overview.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Engine overview &#8212; searx 0.10.0 documentation</title>
9+ <title>Engine overview &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="Search API" href="search_api.html" />
3030 <link rel="prev" title="How to contribute" href="contribution_guide.html" />
3131
dev/install/installation.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Installation &#8212; searx 0.10.0 documentation</title>
9+ <title>Installation &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../../genindex.html" />
2727 <link rel="search" title="Search" href="../../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../../index.html" />
2929 <link rel="next" title="Administration API" href="../../admin/api.html" />
3030 <link rel="prev" title="Why use a private instance?" href="../../user/own-instance.html" />
3131
dev/plugins.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Plugins &#8212; searx 0.10.0 documentation</title>
9+ <title>Plugins &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="Translation" href="translation.html" />
3030 <link rel="prev" title="Search API" href="search_api.html" />
3131
dev/quickstart.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Development Quickstart &#8212; searx 0.10.0 documentation</title>
9+ <title>Development Quickstart &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="How to contribute" href="contribution_guide.html" />
3030 <link rel="prev" title="How to protect an instance" href="../admin/filtron.html" />
3131
dev/search_api.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Search API &#8212; searx 0.10.0 documentation</title>
9+ <title>Search API &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="Plugins" href="plugins.html" />
3030 <link rel="prev" title="Engine overview" href="engine_overview.html" />
3131
dev/translation.html+33−51
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Translation &#8212; searx 0.10.0 documentation</title>
9+ <title>Translation &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="prev" title="Plugins" href="plugins.html" />
3030
3131
@@ -42,68 +42,50 @@
4242
4343 <div class="section" id="translation">
4444<h1>Translation<a class="headerlink" href="#translation" title="Permalink to this headline">¶</a></h1>
45−<p>run these commands in the root directory of searx</p>
46−<div class="section" id="add-new-language">
47−<h2>Add new language<a class="headerlink" href="#add-new-language" title="Permalink to this headline">¶</a></h2>
48−<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">pybabel</span> <span class="n">init</span> <span class="o">-</span><span class="n">i</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span> <span class="o">-</span><span class="n">l</span> <span class="n">it</span>
49−</pre></div>
50−</div>
45+<div class="section" id="requirements">
46+<h2>Requirements<a class="headerlink" href="#requirements" title="Permalink to this headline">¶</a></h2>
47+<blockquote>
48+<div><ul class="simple">
49+<li>Transifex account</li>
50+<li>Installed CLI tool of Transifex</li>
51+</ul>
52+</div></blockquote>
5153</div>
52−<div class="section" id="update-po-files">
53−<h2>Update .po files<a class="headerlink" href="#update-po-files" title="Permalink to this headline">¶</a></h2>
54−<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">utils</span><span class="o">/</span><span class="n">update</span><span class="o">-</span><span class="n">translations</span><span class="o">.</span><span class="n">sh</span>
54+<div class="section" id="init-transifex-project">
55+<h2>Init Transifex project<a class="headerlink" href="#init-transifex-project" title="Permalink to this headline">¶</a></h2>
56+<p>After installing <code class="docutils literal"><span class="pre">transifex</span></code> using pip, run the following command to initialize the project.</p>
57+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">init</span> <span class="c1"># Transifex instance: https://www.transifex.com/asciimoo/searx/</span>
5558</pre></div>
5659</div>
57−<p>You may have errors here. In that case, edit the
58−<code class="docutils literal"><span class="pre">update-translations.sh</span></code> script to change <code class="docutils literal"><span class="pre">pybabel</span></code> to
59−<code class="docutils literal"><span class="pre">pybabel-python2</span></code> or <code class="docutils literal"><span class="pre">pybabel2</span></code></p>
60−<p>After this step, you can modify the .po files.</p>
61−</div>
62−<div class="section" id="compile-translations">
63−<h2>Compile translations<a class="headerlink" href="#compile-translations" title="Permalink to this headline">¶</a></h2>
64−<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">pybabel</span> <span class="nb">compile</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span>
60+<p>After <code class="docutils literal"><span class="pre">$HOME/.transifexrc</span></code> is created, get a Transifex API key and insert it into the configuration file.</p>
61+<p>Create a configuration file for <code class="docutils literal"><span class="pre">tx</span></code> named <code class="docutils literal"><span class="pre">$HOME/.tx/config</span></code>.</p>
62+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">main</span><span class="p">]</span>
63+<span class="n">host</span> <span class="o">=</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="o">.</span><span class="n">transifex</span><span class="o">.</span><span class="n">com</span>
64+<span class="p">[</span><span class="n">searx</span><span class="o">.</span><span class="n">messagespo</span><span class="p">]</span>
65+<span class="n">file_filter</span> <span class="o">=</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span><span class="o">/&lt;</span><span class="n">lang</span><span class="o">&gt;/</span><span class="n">LC_MESSAGES</span><span class="o">/</span><span class="n">messages</span><span class="o">.</span><span class="n">po</span>
66+<span class="n">source_file</span> <span class="o">=</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span>
67+<span class="n">source_lang</span> <span class="o">=</span> <span class="n">en</span>
68+<span class="nb">type</span> <span class="o">=</span> <span class="n">PO</span>
6569</pre></div>
6670</div>
67−</div>
68−<div class="section" id="transifex-stuff">
69−<h2>Transifex stuff<a class="headerlink" href="#transifex-stuff" title="Permalink to this headline">¶</a></h2>
70−<div class="section" id="init-project">
71−<h3>Init Project<a class="headerlink" href="#init-project" title="Permalink to this headline">¶</a></h3>
72−<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">init</span> <span class="c1"># Transifex instance: https://www.transifex.com/asciimoo/searx/</span>
73−
74−<span class="n">tx</span> <span class="nb">set</span> <span class="o">--</span><span class="n">auto</span><span class="o">-</span><span class="n">local</span> <span class="o">-</span><span class="n">r</span> <span class="n">searx</span><span class="o">.</span><span class="n">messagespo</span> <span class="s1">&#39;searx/translations/&lt;lang&gt;/LC_MESSAGES/messages.po&#39;</span> \
71+<p>Then run <code class="docutils literal"><span class="pre">tx</span> <span class="pre">set</span></code>:</p>
72+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="nb">set</span> <span class="o">--</span><span class="n">auto</span><span class="o">-</span><span class="n">local</span> <span class="o">-</span><span class="n">r</span> <span class="n">searx</span><span class="o">.</span><span class="n">messagespo</span> <span class="s1">&#39;searx/translations/&lt;lang&gt;/LC_MESSAGES/messages.po&#39;</span> \
7573<span class="o">--</span><span class="n">source</span><span class="o">-</span><span class="n">lang</span> <span class="n">en</span> <span class="o">--</span><span class="nb">type</span> <span class="n">PO</span> <span class="o">--</span><span class="n">source</span><span class="o">-</span><span class="n">file</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">--</span><span class="n">execute</span>
7674</pre></div>
7775</div>
78−<p><a class="reference external" href="http://docs.transifex.com/client/init/">http://docs.transifex.com/client/init/</a></p>
79−<p><a class="reference external" href="http://docs.transifex.com/client/set/">http://docs.transifex.com/client/set/</a></p>
8076</div>
81−<div class="section" id="get-translations">
82−<h3>Get translations<a class="headerlink" href="#get-translations" title="Permalink to this headline">¶</a></h3>
77+<div class="section" id="update-translations">
78+<h2>Update translations<a class="headerlink" href="#update-translations" title="Permalink to this headline">¶</a></h2>
79+<p>To retrieve the latest translations, pull it from Transifex.</p>
8380<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">pull</span> <span class="o">-</span><span class="n">a</span>
8481</pre></div>
8582</div>
86−<p><a class="reference external" href="http://docs.transifex.com/client/pull">http://docs.transifex.com/client/pull</a></p>
87−</div>
88−<div class="section" id="upload-source-file">
89−<h3>Upload source File<a class="headerlink" href="#upload-source-file" title="Permalink to this headline">¶</a></h3>
90−<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span>
91−</pre></div>
92−</div>
93−</div>
94−<div class="section" id="upload-all-translation">
95−<h3>Upload all Translation<a class="headerlink" href="#upload-all-translation" title="Permalink to this headline">¶</a></h3>
96−<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span> <span class="o">-</span><span class="n">t</span>
97−</pre></div>
98−</div>
99−</div>
100−</div>
101−<div class="section" id="upload-specifc-translation">
102−<h2>upload specifc Translation<a class="headerlink" href="#upload-specifc-translation" title="Permalink to this headline">¶</a></h2>
103−<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">t</span> <span class="o">-</span><span class="n">l</span> <span class="n">tr</span>
83+<p>Then check the new languages. If strings translated are not enough, delete those folders, because
84+those should not be compiled. Call the command below to compile the <code class="docutils literal"><span class="pre">.po</span></code> files.</p>
85+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">pybabel</span> <span class="nb">compile</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span>
10486</pre></div>
10587</div>
106−<p><a class="reference external" href="http://docs.transifex.com/client/push">http://docs.transifex.com/client/push</a></p>
88+<p>After the compilation is finished commit the <code class="docutils literal"><span class="pre">.po</span></code> and <code class="docutils literal"><span class="pre">.mo</span></code> files and create a PR.</p>
10789</div>
10890</div>
10991
docs/conf.py+2−2
@@ -57,9 +57,9 @@ author = u'Adam Tauber'
5757# built documents.
5858#
5959# The short X.Y version.
60−version = '0.10.0'
60+version = '0.11.0'
6161# The full version, including alpha/beta/rc tags.
62−release = '0.10.0'
62+release = '0.11.0'
6363
6464# The language for content autogenerated by Sphinx. Refer to documentation
6565# for a list of supported languages.
docs/dev/translation.rst+25−44
@@ -1,80 +1,61 @@
11Translation
22===========
33
4−run these commands in the root directory of searx
4+Requirements
5+------------
56
6−Add new language
7−~~~~~~~~~~~~~~~~
7+ * Transifex account
88
9−.. code:: shell
9+ * Installed CLI tool of Transifex
1010
11− pybabel init -i messages.pot -d searx/translations -l it
11+Init Transifex project
12+----------------------
1213
13−Update .po files
14−~~~~~~~~~~~~~~~~
14+After installing ``transifex`` using pip, run the following command to initialize the project.
1515
1616.. code:: shell
1717
18− ./utils/update-translations.sh
18+ tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
1919
20−You may have errors here. In that case, edit the
21−``update-translations.sh`` script to change ``pybabel`` to
22−``pybabel-python2`` or ``pybabel2``
2320
24−After this step, you can modify the .po files.
21+After ``$HOME/.transifexrc`` is created, get a Transifex API key and insert it into the configuration file.
2522
26−Compile translations
27−~~~~~~~~~~~~~~~~~~~~
23+Create a configuration file for ``tx`` named ``$HOME/.tx/config``.
2824
2925.. code:: shell
3026
31− pybabel compile -d searx/translations
27+ [main]
28+ host = https://www.transifex.com
29+ [searx.messagespo]
30+ file_filter = searx/translations/<lang>/LC_MESSAGES/messages.po
31+ source_file = messages.pot
32+ source_lang = en
33+ type = PO
3234
33−Transifex stuff
34−~~~~~~~~~~~~~~~
3535
36−Init Project
37−^^^^^^^^^^^^
36+Then run ``tx set``:
3837
3938.. code:: shell
4039
41− tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
42−
4340 tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_MESSAGES/messages.po' \
4441 --source-lang en --type PO --source-file messages.pot --execute
4542
46−http://docs.transifex.com/client/init/
4743
48−http://docs.transifex.com/client/set/
44+Update translations
45+-------------------
4946
50−Get translations
51−^^^^^^^^^^^^^^^^
47+To retrieve the latest translations, pull it from Transifex.
5248
5349.. code:: shell
5450
5551 tx pull -a
5652
57−http://docs.transifex.com/client/pull
58−
59−Upload source File
60−^^^^^^^^^^^^^^^^^^
61−
62−.. code:: shell
63−
64− tx push -s
65−
66−Upload all Translation
67−^^^^^^^^^^^^^^^^^^^^^^
53+Then check the new languages. If strings translated are not enough, delete those folders, because
54+those should not be compiled. Call the command below to compile the ``.po`` files.
6855
6956.. code:: shell
7057
71− tx push -s -t
72−
73−upload specifc Translation
74−~~~~~~~~~~~~~~~~~~~~~~~~~~
75−
76−.. code:: shell
58+ pybabel compile -d searx/translations
7759
78− tx push -t -l tr
7960
80−http://docs.transifex.com/client/push
61+After the compilation is finished commit the ``.po`` and ``.mo`` files and create a PR.
genindex.html+3−3
@@ -7,7 +7,7 @@
77 <head>
88 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
99
10− <title>Index &#8212; searx 0.10.0 documentation</title>
10+ <title>Index &#8212; searx 0.11.0 documentation</title>
1111
1212 <link rel="stylesheet" href="_static/style.css" type="text/css" />
1313 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
1515 <script type="text/javascript">
1616 var DOCUMENTATION_OPTIONS = {
1717 URL_ROOT: './',
18− VERSION: '0.10.0',
18+ VERSION: '0.11.0',
1919 COLLAPSE_INDEX: false,
2020 FILE_SUFFIX: '.html',
2121 HAS_SOURCE: true
@@ -26,7 +26,7 @@
2626 <script type="text/javascript" src="_static/doctools.js"></script>
2727 <link rel="index" title="Index" href="#" />
2828 <link rel="search" title="Search" href="search.html" />
29− <link rel="top" title="searx 0.10.0 documentation" href="index.html" />
29+ <link rel="top" title="searx 0.11.0 documentation" href="index.html" />
3030
3131
3232 <link media="only screen and (max-device-width: 480px)" href="_static/small_flask.css" type= "text/css" rel="stylesheet" />
index.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Welcome to searx &#8212; searx 0.10.0 documentation</title>
9+ <title>Welcome to searx &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: './',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="genindex.html" />
2727 <link rel="search" title="Search" href="search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="#" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="#" />
2929 <link rel="next" title="Search syntax" href="user/search_syntax.html" />
3030
3131
objects.inv+1−1
@@ -1,5 +1,5 @@
11# Sphinx inventory version 2
22# Project: searx
3−# Version: 0.10.0
3+# Version: 0.11.0
44# The remainder of this file is compressed using zlib.
55x�uS�n� ��+��kW���Ti��äN��cE�K�d@���8��������gl(o�Z�V��׌� M���5�l�QXg�Z��n[aď��xd�:���O�i��9B�:��L*.��������i�8t�ם�0u��Yi�z�j�`�{0��S)VШ�A���ۓ2}�t!���� �Z���T`L��!��u��z �ʔ+�Y/Ѓ�mʑ���"�a�}�9�"��<�I��'�~]��[�a��_��kPBq8� MW��k��q� ��’�~Cp1����iz��<�ܵ�U"���杄�'^x��X6����,��>�Uzb��f����(B�=u0��g�&n/���L0c3GU�>ؘ�
search.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Search &#8212; searx 0.10.0 documentation</title>
9+ <title>Search &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: './',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -26,7 +26,7 @@
2626 <script type="text/javascript" src="_static/searchtools.js"></script>
2727 <link rel="index" title="Index" href="genindex.html" />
2828 <link rel="search" title="Search" href="#" />
29− <link rel="top" title="searx 0.10.0 documentation" href="index.html" />
29+ <link rel="top" title="searx 0.11.0 documentation" href="index.html" />
3030 <script type="text/javascript">
3131 jQuery(function() { Search.loadIndex("searchindex.js"); });
3232 </script>
searchindex.js+1−1
@@ -1 +1 @@
1−Search.setIndex({envversion:49,filenames:["admin/api","admin/filtron","dev/contribution_guide","dev/engine_overview","dev/install/installation","dev/plugins","dev/quickstart","dev/search_api","dev/translation","index","user/own-instance","user/search_syntax"],objects:{},objnames:{},objtypes:{},terms:{"366kvn":[],"boolean":3,"break":2,"byte":3,"case":[4,6,8,10],"default":[],"function":[3,5],"import":4,"int":3,"long":10,"new":[],"null":4,"public":[],"return":[],"short":6,"static":5,"switch":2,"true":[0,1,3,4,5,6],"try":[6,10],"while":[],a2enmod:4,abbrevat:11,abl:[2,3],about:2,abov:[2,4],abus:[1,10],accept:11,access:[1,10],access_log:4,action:[0,1],activ:[4,6,7],activat:4,adapt:3,adapter:3,add:[],addit:[3,4],addition:[9,10],additionali:[],address:[3,10],administ:[],adminstr:[],adopt:2,adress:[],advertis:10,advis:[1,4],after:[5,6,8],agent:[1,3],aggrag:[],aggragatedand:[],aggreg:[1,9,10],ahrefsbot:1,all:[],allow:[4,11],along:1,alreadi:2,also:[2,4,10,11],alter:2,alwai:[3,6,10],among:[2,10],ani:9,anonm:[],anonym:[9,10],anoth:3,answer:10,anti:[],anyon:9,anyth:10,apache2:4,api_kei:3,app:4,appear:6,appli:[2,4],applic:[1,4],applitaion:[],appropri:2,apt:[4,6],arbitrari:3,arch:0,archiv:1,arrai:3,asciimoo:[4,6,8],aspect:2,assign:3,attach:5,attack:[],authors:2,auto:8,autocomplet:0,avail:[4,6,7,10],avoid:1,back:4,baiduspid:1,ban:10,base:3,base_url:[3,4],bash:4,becaus:[2,3,6,10],becom:[],befor:[6,10],before:5,behav:[],behaviour:[2,5],below:[1,2,4,6],besid:10,best:10,better:[3,4,10],between:3,bin:[4,6],bingbot:1,bitbucket:0,block:1,born:2,bot:1,both:[2,7,10],botlimit:1,boundingbox:3,branch:2,browser:[2,10],bug:6,bugreport:2,build:[],build_grunt:6,built:[2,3,6],button:[],callback:5,can:[0,1,2,3,4,5,6,8,9,10],cannot:10,capabl:2,captcha:10,captha:[],categori:[0,3,7,11],certif:4,chainabl:11,chang:[4,8],chapter:2,charact:2,chdir:4,check:[],checkout:2,chmod:4,choic:10,choos:[2,3],chown:4,citi:3,clear:10,cli:6,client:[1,8],clone:[4,6],code:[],collect:[],com:[3,4,6,8],combin:4,come:[1,2,10],comfort:[],comma:7,command:[1,4,6,8],comment:[],commit:6,common:[6,10],compani:10,complet:[],compon:5,compromis:10,comput:10,concern:2,conf:4,config:[0,3,4],connect:9,consequ:[],construct:3,consult:6,contain:6,context:5,contribut:[],control:10,convent:2,cooki:[3,9,10],corner:2,could:3,count:4,countri:3,coupl:4,coverag:6,cpu:4,creat:[2,4,6],cryptic:6,css:5,css_depend:5,csv:1,cthulhu:11,ctx:5,curl:1,current:[2,3,11],custom:[2,11],customiz:0,customlog:4,dai:7,data:[],date:[0,3],datetim:3,ddg:11,debian:4,debug:[],decim:3,def:[3,5],default_local:0,default_on:5,default_them:0,defend:[],defin:5,delet:[],demon:4,depen:1,depend:[3,4,6],deploi:4,descript:[5,7],deserv:2,desir:[3,6],deutsch:0,dev:4,devic:[],differ:[2,3],digit:9,directori:8,disabl:[],disrespect:2,dive:10,dockerfil:4,doe:[],domain:4,domin:2,don:9,down:[],duckduckgo:11,easi:9,easier:[],easili:2,edit:[2,4,8,10],effect:2,either:6,elimin:6,embed:[],en_us:3,enabl:[0,2,4,6],encrypt:9,engin:[],engine:[],english:0,enpoint:7,enter:4,entry:5,error:[6,8],error_log:4,esperanto:0,essenti:4,etc:[1,2,4],even:[],everi:[3,10],everyon:10,everyth:[4,10],exactli:1,exceed:1,except:2,exchang:10,execut:8,exist:2,exit:4,expect:2,expertis:[],expir:[],explain:2,extend:[2,5],extens:2,extern:[1,3,10],extract:[],fail:6,fals:[0,4,5,6],fanci:2,feedback:2,feedfetch:1,feel:5,few:[2,3],file:[],filenam:3,files:3,filter:[0,1],filtron:[],find:1,fine:4,fiorward:[],firewal:1,first:[6,10],fit:5,fix:[2,6],flask:5,folder:[2,3,6],follow:[1,2,3,6],followsymlink:4,forget:[],fork:2,form:[0,10],format:[1,3,6],forward:[1,4,10],found:1,free:[],friend:10,from:[],further:6,furthermor:[3,6,7,10],gain:10,gener:[],geojson:3,german:0,get:[],gid:4,git:[4,6],github:[4,6],give:6,goi:0,golang:[],gone:[],good:[2,6],googl:0,googlebot:1,grant:4,group:10,grunt:6,guid:6,hack:2,hackerspac:11,handl:10,handler:4,happi:2,harder:[],have:[2,3,4,8,10],header:[1,3],help:[2,6],her:10,here:8,hex:4,hidden:[0,10],hit:[],host:[],hotkei:0,hour:4,hous:3,house_numb:3,how:[],how_to_setup_your_own_privacy_respecting_search:[],howev:3,html:[0,2,3],http:[0,1,3,4,6,8],http_host:1,https:[0,9],hub:4,idea:6,imag:[],image:11,img_src:3,implement:[2,3,5],includ:4,inclus:11,index:4,inform:[2,3,4],informat:1,infrastructur:[],ini:4,init:[],input:0,insanc:[],inside:3,insight:10,instal:[],install:4,installat:[],instanc:[],instance_nam:0,instead:6,integr:9,intent:2,interfer:2,intergr:[],internal:6,internet:9,interpret:4,interpretor:4,interv:1,introduct:6,invis:[],iso:3,itself:2,jame:1,js_depend:5,json:1,just:[0,10],kei:3,kind:10,know:10,lack:2,lang:[0,7,8],languag:[],language_support:3,laptop:10,lat:3,latitud:3,lc_messages:8,leak:[],leech:3,leecher:3,length:2,less:[6,10],let:10,level:2,libapache2:4,libffi:4,libssl:4,libxslt:4,light:4,like:[0,3,4],limit:1,line:2,linkdexbot:1,linux:0,list:[3,5,7,11],listen:[1,4],local:[0,3,4,5,6,8],localhost:4,locat:[1,4],lon:3,longitud:3,low:4,machin:[],magnetlink:3,mai:8,maker:[],malici:[],manag:[4,6],mani:1,map:[],mass:2,master:4,matter:[3,10],max:[1,3],maxim:2,maximum:[2,3],mean:10,media:[0,3],messag:[1,6,8],messagespo:8,method:[0,3],might:[2,10],min:3,mind:[],misbehav:2,misconcept:[],mix:[],mj12bot:1,mobil:[],mod:4,modifi:[8,11],modul:4,monet:10,month:[0,7],more:[2,4,9,10],morti:[],most:10,msnbot:1,much:[],multibl:3,multipl:10,must:[2,3,6],myproject:6,name:[0,1,3,4,5,7],navig:[],necessari:4,need:[2,10],neither:9,net:9,netvib:1,never:[],node:6,nodej:6,nodejs:6,none:3,nor:9,normal:3,note:[2,4],now:5,npm:6,number:[1,3,4,7],number_of_result:3,object:[3,5],obviou:[],ocnfigur:[],off:[2,4],offer:[],often:3,okhin:4,on_result:5,onli:[4,5],onlin:9,open:10,openssl:4,openstreetmap:0,oper:10,option:[3,4,5,6,7,10],order:[2,6],org:3,org_bot:1,organis:9,origin:4,oscar:[],osm:[0,3],other:[2,3,10],otherwis:3,out:2,over:9,overview:[],overwritten:3,own:[9,10],packag:[4,6],page:[1,2,3,7,10,11],pageno:[3,7],pagenumb:3,param:[1,3],paramt:3,parti:10,partli:3,past:0,patch:2,path:[1,4],peopl:10,pep8:[2,6],per:3,perform:3,person:[],phase:6,pip:2,place:[2,3,10],pleas:[2,4,6],plenti:2,port:[1,4],possibl:[4,7],post_search:5,postcod:3,pot:8,practic:[],pre_search:5,prefer:[10,11],prefix:11,preserv:2,preview:3,privacytoolsio:[],privat:[],problem:1,proce:4,process:1,profil:[9,10],promot:9,proper:10,protect:[],provid:[2,3],proxi:[4,10],proxy_add_x_forwarded_for:[1,4],proxy_buff:4,proxy_pass:[1,4],proxy_set_head:[1,4],publish:3,publishedd:3,pull:[2,4,8],purpos:3,push:8,put:[],pybabel2:8,pybabel:[4,8],python2:8,python:[1,4],pythonpath:4,quadratur:9,queri:[0,3,7,10,11],question:10,quickstart:[],quit:2,qwer:11,ran:[],rand:4,random:[3,10],rang:[3,7],rate:1,reach:[],real:1,recommend:3,reconsid:2,reddit:[],redefin:3,reduc:2,refer:[],referr:[],regardless:10,remain:[],rememb:2,remote_addr:1,remov:10,replac:5,repo:2,repositori:4,repres:[],request:[],requir:[2,3,6,7],reset:10,restart:4,revers:4,rewrit:[0,4],right:[4,5,9],road:3,roboag:1,root:[4,8],round:2,rss:1,rst:2,rule:1,run:[],safe_search:0,same:[1,3],satisfi:6,scheme:[1,4],scrapi:1,script:[1,4,6,8],script_name:4,search_path:3,search_str:3,searx:[],sec:1,secret:[],section:[],secur:9,sed:4,see:[],seed:3,seeder:3,select:[10,11],selenium:6,self:9,send:[1,10],sender:[],sent:10,separ:[2,7],serv:10,server_nam:4,servic:[1,4,9,10],sethandl:4,setup:[],sevic:[],seznambot:1,share:[],she:10,shine:[],shortcut:[0,3],should:[],similarli:[],simpli:2,singl:[4,10],site:[0,3,4],size:3,skip:6,slurp:1,small:3,smtbot:1,social:0,socket:4,softwar:[],sold:10,solv:1,some:4,someon:10,someth:2,sourc:[],special:3,specif:[3,4],specifi:[3,7],sphinx:2,ssl:[3,4,9],stack:6,stai:[],standard:[2,3],start:[1,2,3,4,9],stash:4,step:[2,4,8],stop:1,store:[3,10],street:3,string:3,submit:2,subrul:1,sudo:[4,6],suggest:5,support:[2,3,7,9,10],sure:4,syntax:[],system:2,tailor:10,taior:[],take:2,tell:3,templat:3,test:[],text:[0,3],than:9,thei:10,them:[],therefor:[],thi:[1,3,4,5,6,8,10],think:2,third:10,those:10,three:[2,5,10],thu:10,thumbnail:3,thumbnail_src:3,time:[1,3,7,10],time_rang:[0,7],time_range_support:3,timeout:3,titl:3,tld:4,too:[1,10],tool:2,tor:[9,10],torrentfil:3,trace:6,tracek:[],track:[9,10],traffic:4,transifex:[],translat:[],travi:6,trust:[9,10],try_fil:4,tupl:5,turn:[2,6],twice:4,two:[2,7],txt:2,type:[0,3,8,10],ubuntu:4,uid:4,ultrasecretkei:4,uncommon:2,under:[2,3],unfortun:2,unit:[2,6],unit_test:6,univers:4,unix:4,unknown:10,unless:[],unlik:10,unprotect:[],unspecifi:3,updat:[],update_dev_packag:6,update_packag:4,uri:4,url:[],urlencod:3,use:1,useless:[],useradd:4,userag:1,useragent:1,using:[],usr:4,usual:4,usualli:10,util:8,uwsgi_modifier1:4,uwsgi_param:4,uwsgi_pass:4,uwsgisocket:4,valid:[3,6],valu:[0,3],variabl:3,variou:[2,5],vendor:2,verifi:3,via:11,view:10,vim:0,virtual:4,virtualenv:[4,6],visibl:[],visit:10,visitor:[],vpn:10,vulner:10,wai:[2,3,10],want:10,warning:4,webapp:4,webcrawl:1,websit:0,weird:2,wget:1,whatev:4,when:[5,6,10],where:1,whether:[6,10],which:[1,2,3,9,10],who:[4,10],whole:[4,5],why:[],wide:2,wihout:[],wiki:0,wikipedia:11,wish:2,without:[3,9,10],won:[],wonderfal:4,word:5,work:[2,3,4,6,10],worker:4,world:[2,10],worth:10,written:[],wsgi:4,www:8,yacybot:1,yahoo:1,yandexbot:1,yandexmobilebot:1,year:7,yet:3,you:[2,4,6,8,9,10,11],your:[],yourself:2,zgrab:1,zlib1g:4},titles:["Administration API","How to protect an instance","How to contribute","Engine overview","Installation","Plugins","Development Quickstart","Search API","Translation","Welcome to searx","Why use a private instance?","Search syntax"],titleterms:{"default":3,"new":8,"public":10,"return":3,about:10,add:8,administr:[0,9],advantag:[],all:8,apach:4,api:[0,7],argument:3,bar:0,basic:4,build:6,check:4,code:[2,3],compil:[6,8],conclus:10,configur:[0,1,3,4],consequ:10,content:[3,4],contribut:2,data:0,debug:6,design:2,develop:[6,9],direct:2,disabl:4,doc:[],docker:4,document:[2,9],doe:10,embed:0,engin:3,engine:3,entri:5,environ:6,exampl:[3,5,11],featur:9,file:[3,8],filtron:1,free:[],from:4,gener:3,get:[0,8],hackabl:2,hook:5,host:4,how:[1,2,4,6,10],imag:3,init:8,instal:4,installat:4,instanc:[1,10],javascript:6,languag:8,log:4,make:3,map:3,metasearch:[],nginx:4,oscar:6,overrid:3,overview:3,paramet:7,pars:3,pass:3,person:[],plugin:5,point:5,post:5,pre:5,prime:2,privaci:[2,10],privat:10,project:8,protect:[1,10],quickstart:6,refer:4,request:[1,3],respect:[],respons:0,result:[3,5],rout:1,run:6,sampl:[0,1],search:[0,5,7,11],searx:[4,9,10],see:10,server:4,set:3,setup:6,should:[],sourc:[6,8],specifc:8,still:[],stuff:8,style:6,subdirectori:4,syntax:11,test:6,theme:6,through:1,tip:6,torrent:3,transifex:8,translat:[2,8],updat:4,update:8,upload:8,url:4,user:9,uwsgi:4,video:3,web:4,welcom:9,what:10,why:10,yml:3,your:6}})
1+Search.setIndex({envversion:49,filenames:["admin/api","admin/filtron","dev/contribution_guide","dev/engine_overview","dev/install/installation","dev/plugins","dev/quickstart","dev/search_api","dev/translation","index","user/own-instance","user/search_syntax"],objects:{},objnames:{},objtypes:{},terms:{"366kvn":[],"boolean":3,"break":2,"byte":3,"case":[4,6,10],"default":[],"function":[3,5],"import":4,"int":3,"long":10,"new":[],"null":4,"public":[],"return":[],"short":6,"static":5,"switch":2,"true":[0,1,3,4,5,6],"try":[6,10],"while":[],a2enmod:4,abbrevat:11,abl:[2,3],about:[],abov:[2,4],abus:[1,10],accept:11,access:[1,10],access_log:4,account:8,action:[0,1],activ:[4,6,7],activat:4,adapt:3,adapter:3,add:[],addit:[3,4],addition:[9,10],additionali:[],address:[3,10],administ:[],adminstr:[],adopt:2,adress:[],advertis:10,advis:[1,4],after:[5,6,8],agent:[1,3],aggrag:[],aggragatedand:[],aggreg:[1,9,10],ahrefsbot:1,all:[],allow:[4,11],along:1,alreadi:2,also:[2,4,10,11],alter:2,alwai:[3,6,10],among:[2,10],ani:9,anonm:[],anonym:[9,10],anoth:3,answer:10,anti:[],anyon:9,anyth:10,apache2:4,api_kei:3,app:4,appear:6,appli:[2,4],applic:[1,4],applitaion:[],appropri:2,apt:[4,6],arbitrari:3,arch:0,archiv:1,arrai:3,asciimoo:[4,6,8],aspect:2,assign:3,attach:5,attack:[],authors:2,auto:8,autocomplet:0,avail:[4,6,7,10],avoid:1,back:4,baiduspid:1,ban:10,base:3,base_url:[3,4],bash:4,becaus:[2,3,6,8,10],becom:[],befor:[6,10],before:5,behav:[],behaviour:[2,5],below:[1,2,4,6,8],besid:10,best:10,better:[3,4,10],between:3,bin:[4,6],bingbot:1,bitbucket:0,block:1,born:2,bot:1,both:[2,7,10],botlimit:1,boundingbox:3,branch:2,browser:[2,10],bug:6,bugreport:2,build:[],build_grunt:6,built:[2,3,6],button:[],call:8,callback:5,can:[0,1,2,3,4,5,6,9,10],cannot:10,capabl:2,captcha:10,captha:[],categori:[0,3,7,11],certif:4,chainabl:11,chang:4,chapter:2,charact:2,chdir:4,check:[],checkout:2,chmod:4,choic:10,choos:[2,3],chown:4,citi:3,clear:10,cli:[6,8],client:1,clone:[4,6],code:[],collect:[],com:[3,4,6,8],combin:4,come:[1,2,10],comfort:[],comma:7,command:[1,4,6,8],comment:[],commit:[6,8],common:[6,10],compani:10,complet:[],compon:5,compromis:10,comput:10,concern:2,conf:4,config:[0,3,4,8],connect:9,consequ:[],construct:3,consult:6,contain:6,context:5,contribut:[],control:10,convent:2,cooki:[3,9,10],corner:2,could:3,count:4,countri:3,coupl:4,coverag:6,cpu:4,creat:[2,4,6,8],cryptic:6,css:5,css_depend:5,csv:1,cthulhu:11,ctx:5,curl:1,current:[2,3,11],custom:[2,11],customiz:0,customlog:4,dai:7,data:[],date:[0,3],datetim:3,ddg:11,debian:4,debug:[],decim:3,def:[3,5],default_local:0,default_on:5,default_them:0,defend:[],defin:5,delet:8,demon:4,depen:1,depend:[3,4,6],deploi:4,descript:[5,7],deserv:2,desir:[3,6],deutsch:0,dev:4,devic:[],differ:[2,3],digit:9,directori:[],disabl:[],disrespect:2,dive:10,dockerfil:4,doe:[],domain:4,domin:2,don:9,down:[],duckduckgo:11,easi:9,easier:[],easili:2,edit:[2,4,10],effect:2,either:6,elimin:6,embed:[],en_us:3,enabl:[0,2,4,6],encrypt:9,engin:[],engine:[],english:0,enough:8,enpoint:7,enter:4,entry:5,error:6,error_log:4,esperanto:0,essenti:4,etc:[1,2,4],even:[],everi:[3,10],everyon:10,everyth:[4,10],exactli:1,exceed:1,except:2,exchang:10,execut:8,exist:2,exit:4,expect:2,expertis:[],expir:[],explain:2,extend:[2,5],extens:2,extern:[1,3,10],extract:[],fail:6,fals:[0,4,5,6],fanci:2,feedback:2,feedfetch:1,feel:5,few:[2,3],file:[],file_filt:8,filenam:3,files:3,filter:[0,1],filtron:[],find:1,fine:4,finish:8,fiorward:[],firewal:1,first:[6,10],fit:5,fix:[2,6],flask:5,folder:[2,3,6,8],follow:[1,2,3,6,8],followsymlink:4,forget:[],fork:2,form:[0,10],format:[1,3,6],forward:[1,4,10],found:1,free:[],friend:10,from:[],further:6,furthermor:[3,6,7,10],gain:10,gener:[],geojson:3,german:0,get:[],gid:4,git:[4,6],github:[4,6],give:6,goi:0,golang:[],gone:[],good:[2,6],googl:0,googlebot:1,grant:4,group:10,grunt:6,guid:6,hack:2,hackerspac:11,handl:10,handler:4,happi:2,harder:[],have:[2,3,4,10],header:[1,3],help:[2,6],her:10,here:[],hex:4,hidden:[0,10],hit:[],home:8,host:[],hotkei:0,hour:4,hous:3,house_numb:3,how:[],how_to_setup_your_own_privacy_respecting_search:[],howev:3,html:[0,2,3],http:[0,1,3,4,6,8],http_host:1,https:[0,9],hub:4,idea:6,imag:[],image:11,img_src:3,implement:[2,3,5],includ:4,inclus:11,index:4,inform:[2,3,4],informat:1,infrastructur:[],ini:4,init:[],initi:8,input:0,insanc:[],insert:8,inside:3,insight:10,instal:[],install:[4,8],installat:[],instanc:[],instance_nam:0,instead:6,integr:9,intent:2,interfer:2,intergr:[],internal:6,internet:9,interpret:4,interpretor:4,interv:1,introduct:6,invis:[],iso:3,itself:2,jame:1,js_depend:5,json:1,just:[0,10],kei:[3,8],kind:10,know:10,lack:2,lang:[0,7,8],languag:[],language_support:3,laptop:10,lat:3,latest:8,latitud:3,lc_messages:8,leak:[],leech:3,leecher:3,length:2,less:[6,10],let:10,level:2,libapache2:4,libffi:4,libssl:4,libxslt:4,light:4,like:[0,3,4],limit:1,line:2,linkdexbot:1,linux:0,list:[3,5,7,11],listen:[1,4],local:[0,3,4,5,6,8],localhost:4,locat:[1,4],lon:3,longitud:3,low:4,machin:[],magnetlink:3,mai:[],main:8,maker:[],malici:[],manag:[4,6],mani:1,map:[],mass:2,master:4,matter:[3,10],max:[1,3],maxim:2,maximum:[2,3],mean:10,media:[0,3],messag:[1,6,8],messagespo:8,method:[0,3],might:[2,10],min:3,mind:[],misbehav:2,misconcept:[],mix:[],mj12bot:1,mobil:[],mod:4,modifi:11,modul:4,monet:10,month:[0,7],more:[2,4,9,10],morti:[],most:10,msnbot:1,much:[],multibl:3,multipl:10,must:[2,3,6],myproject:6,name:[0,1,3,4,5,7,8],navig:[],necessari:4,need:[2,10],neither:9,net:9,netvib:1,never:[],node:6,nodej:6,nodejs:6,none:3,nor:9,normal:3,note:[2,4],now:5,npm:6,number:[1,3,4,7],number_of_result:3,object:[3,5],obviou:[],ocnfigur:[],off:[2,4],offer:[],often:3,okhin:4,on_result:5,onli:[4,5],onlin:9,open:10,openssl:4,openstreetmap:0,oper:10,option:[3,4,5,6,7,10],order:[2,6],org:3,org_bot:1,organis:9,origin:4,oscar:[],osm:[0,3],other:[2,3,10],otherwis:3,out:2,over:9,overview:[],overwritten:3,own:[9,10],packag:[4,6],page:[1,2,3,7,10,11],pageno:[3,7],pagenumb:3,param:[1,3],paramt:3,parti:10,partli:3,past:0,patch:2,path:[1,4],peopl:10,pep8:[2,6],per:3,perform:3,person:[],phase:6,pip:[2,8],place:[2,3,10],pleas:[2,4,6],plenti:2,port:[1,4],possibl:[4,7],post_search:5,postcod:3,pot:8,practic:[],pre_search:5,prefer:[10,11],prefix:11,preserv:2,preview:3,privacytoolsio:[],privat:[],problem:1,proce:4,process:1,profil:[9,10],promot:9,proper:10,protect:[],provid:[2,3],proxi:[4,10],proxy_add_x_forwarded_for:[1,4],proxy_buff:4,proxy_pass:[1,4],proxy_set_head:[1,4],publish:3,publishedd:3,pull:[2,4,8],purpos:3,push:[],put:[],pybabel2:[],pybabel:[4,8],python2:[],python:[1,4],pythonpath:4,quadratur:9,queri:[0,3,7,10,11],question:10,quickstart:[],quit:2,qwer:11,ran:[],rand:4,random:[3,10],rang:[3,7],rate:1,reach:[],real:1,recommend:3,reconsid:2,reddit:[],redefin:3,reduc:2,refer:[],referr:[],regardless:10,remain:[],rememb:2,remote_addr:1,remov:10,replac:5,repo:2,repositori:4,repres:[],request:[],requir:[],reset:10,restart:4,retriev:8,revers:4,rewrit:[0,4],right:[4,5,9],road:3,roboag:1,root:4,round:2,rss:1,rst:2,rule:1,run:[],safe_search:0,same:[1,3],satisfi:6,scheme:[1,4],scrapi:1,script:[1,4,6],script_name:4,search_path:3,search_str:3,searx:[],sec:1,secret:[],section:[],secur:9,sed:4,see:[],seed:3,seeder:3,select:[10,11],selenium:6,self:9,send:[1,10],sender:[],sent:10,separ:[2,7],serv:10,server_nam:4,servic:[1,4,9,10],sethandl:4,setup:[],sevic:[],seznambot:1,share:[],she:10,shine:[],shortcut:[0,3],should:[],similarli:[],simpli:2,singl:[4,10],site:[0,3,4],size:3,skip:6,slurp:1,small:3,smtbot:1,social:0,socket:4,softwar:[],sold:10,solv:1,some:4,someon:10,someth:2,sourc:[],source_fil:8,source_lang:8,special:3,specif:[3,4],specifi:[3,7],sphinx:2,ssl:[3,4,9],stack:6,stai:[],standard:[2,3],start:[1,2,3,4,9],stash:4,step:[2,4],stop:1,store:[3,10],street:3,string:[3,8],submit:2,subrul:1,sudo:[4,6],suggest:5,support:[2,3,7,9,10],sure:4,syntax:[],system:2,tailor:10,taior:[],take:2,tell:3,templat:3,test:[],text:[0,3],than:9,thei:10,them:[],therefor:[],thi:[1,3,4,5,6,10],think:2,third:10,those:[8,10],three:[2,5,10],thu:10,thumbnail:3,thumbnail_src:3,time:[1,3,7,10],time_rang:[0,7],time_range_support:3,timeout:3,titl:3,tld:4,too:[1,10],tool:[2,8],tor:[9,10],torrentfil:3,trace:6,tracek:[],track:[9,10],traffic:4,transifex:[],transifexrc:8,translat:[],travi:6,trust:[9,10],try_fil:4,tupl:5,turn:[2,6],twice:4,two:[2,7],txt:2,type:[0,3,8,10],ubuntu:4,uid:4,ultrasecretkei:4,uncommon:2,under:[2,3],unfortun:2,unit:[2,6],unit_test:6,univers:4,unix:4,unknown:10,unless:[],unlik:10,unprotect:[],unspecifi:3,updat:[],update_dev_packag:6,update_packag:4,uri:4,url:[],urlencod:3,use:1,useless:[],useradd:4,userag:1,useragent:1,using:[],usr:4,usual:4,usualli:10,util:[],uwsgi_modifier1:4,uwsgi_param:4,uwsgi_pass:4,uwsgisocket:4,valid:[3,6],valu:[0,3],variabl:3,variou:[2,5],vendor:2,verifi:3,via:11,view:10,vim:0,virtual:4,virtualenv:[4,6],visibl:[],visit:10,visitor:[],vpn:10,vulner:10,wai:[2,3,10],want:10,warning:4,webapp:4,webcrawl:1,websit:0,weird:2,wget:1,whatev:4,when:[5,6,10],where:1,whether:[6,10],which:[1,2,3,9,10],who:[4,10],whole:[4,5],why:[],wide:2,wihout:[],wiki:0,wikipedia:11,wish:2,without:[3,9,10],won:[],wonderfal:4,word:5,work:[2,3,4,6,10],worker:4,world:[2,10],worth:10,written:[],wsgi:4,www:8,yacybot:1,yahoo:1,yandexbot:1,yandexmobilebot:1,year:7,yet:3,you:[2,4,6,9,10,11],your:[],yourself:2,zgrab:1,zlib1g:4},titles:["Administration API","How to protect an instance","How to contribute","Engine overview","Installation","Plugins","Development Quickstart","Search API","Translation","Welcome to searx","Why use a private instance?","Search syntax"],titleterms:{"default":3,"new":[],"public":10,"return":3,about:10,add:[],administr:[0,9],advantag:[],all:[],apach:4,api:[0,7],argument:3,bar:0,basic:4,build:6,check:4,code:[2,3],compil:6,conclus:10,configur:[0,1,3,4],consequ:10,content:[3,4],contribut:2,data:0,debug:6,design:2,develop:[6,9],direct:2,disabl:4,doc:[],docker:4,document:[2,9],doe:10,embed:0,engin:3,engine:3,entri:5,environ:6,exampl:[3,5,11],featur:9,file:3,filtron:1,free:[],from:4,gener:3,get:0,hackabl:2,hook:5,host:4,how:[1,2,4,6,10],imag:3,init:8,instal:4,installat:4,instanc:[1,10],javascript:6,languag:[],log:4,make:3,map:3,metasearch:[],nginx:4,oscar:6,overrid:3,overview:3,paramet:7,pars:3,pass:3,person:[],plugin:5,point:5,post:5,pre:5,prime:2,privaci:[2,10],privat:10,project:8,protect:[1,10],quickstart:6,refer:4,request:[1,3],requir:8,respect:[],respons:0,result:[3,5],rout:1,run:6,sampl:[0,1],search:[0,5,7,11],searx:[4,9,10],see:10,server:4,set:3,setup:6,should:[],sourc:6,specifc:[],still:[],stuff:[],style:6,subdirectori:4,syntax:11,test:6,theme:6,through:1,tip:6,torrent:3,transifex:8,translat:[2,8],updat:4,update:8,upload:[],url:4,user:9,uwsgi:4,video:3,web:4,welcom:9,what:10,why:10,yml:3,your:6}})
user/own-instance.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Why use a private instance? &#8212; searx 0.10.0 documentation</title>
9+ <title>Why use a private instance? &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
2929 <link rel="next" title="Installation" href="../dev/install/installation.html" />
3030 <link rel="prev" title="Search syntax" href="search_syntax.html" />
3131
user/search_syntax.html+4−4
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Search syntax &#8212; searx 0.10.0 documentation</title>
9+ <title>Search syntax &#8212; searx 0.11.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.10.0',
17+ VERSION: '0.11.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,8 +25,8 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
29− <link rel="next" title="Installation" href="../dev/install/installation.html" />
28+ <link rel="top" title="searx 0.11.0 documentation" href="../index.html" />
29+ <link rel="next" title="Why use a private instance?" href="own-instance.html" />
3030 <link rel="prev" title="Welcome to searx" href="../index.html" />
3131
3232