Custom message extractor (i18n)
This module implements the extractor to extract messages from:
The searxng.msg files are selected by Babel, see Babel’s configuration in
:
searxng_msg = searx.babel_extract.extract
...
[searxng_msg: **/searxng.msg]
A searxng.msg file is a python file that is executed by the
extract function. Additional searxng.msg files can be added by:
- Adding a
searxng.msgfile in one of the SearXNG python packages and - implement a method in
extractthat yields messages from this file.
searx.babel_extract.extract(fileobj, keywords, comment_tags, options)[source]
: Extract messages from searxng.msg files by a custom extractor.
Copyright © SearXNG team
Made with Furo
