Markus Heiser 6e5f22e558 [mod] replace engines_languages.json by engines_traits.json
Implementations of the *traits* of the engines.

Engine's traits are fetched from the origin engine and stored in a JSON file in
the *data folder*.  Most often traits are languages and region codes and their
mapping from SearXNG's representation to the representation in the origin search
engine.

To load traits from the persistence::

    searx.enginelib.traits.EngineTraitsMap.from_data()

For new traits new properties can be added to the class::

    searx.enginelib.traits.EngineTraits

.. hint::

   Implementation is downward compatible to the deprecated *supported_languages
   method* from the vintage implementation.

   The vintage code is tagged as *deprecated* an can be removed when all engines
   has been ported to the *traits method*.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-24 10:37:42 +01:00
..
2023-03-15 19:55:20 +01:00
2022-01-05 11:00:11 +01:00
2022-09-23 20:45:58 +02:00
2022-08-10 09:14:36 +02:00
2021-12-27 10:16:20 +01:00
2021-01-14 20:57:17 +01:00
2022-01-05 11:00:11 +01:00
2022-01-05 11:00:11 +01:00
2022-11-11 07:39:48 +00:00
2022-01-28 22:33:41 +01:00
2022-07-04 19:06:45 +02:00
2022-11-07 08:07:06 -06:00
2022-07-30 18:04:44 +02:00
2022-07-30 18:04:44 +02:00
2022-07-30 18:04:44 +02:00
2022-09-23 20:45:58 +02:00
2022-08-14 10:36:14 +02:00
2022-01-02 21:18:29 +01:00
2022-01-05 11:00:11 +01:00
2022-08-17 19:45:42 +07:00
2023-03-21 00:41:36 +01:00
2022-08-31 18:29:50 +07:00
2022-01-30 19:48:40 +01:00
2021-12-27 10:16:20 +01:00
2022-04-22 16:09:36 +02:00
2022-07-05 22:27:55 +02:00