Custom message extractor (i18n)¶
This module implements the searxng_msg extractor to extract messages from:
The searxng.msg files are selected by Babel, see Babel’s configuration in
git://babel.cfg:
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 andimplement a method in
extractthat yields messages from this file.