Skip to content

How do the translation bangs work? #3527

Answered by return42
ranidspace asked this question in Q&A
Discussion options

You must be logged in to vote

Apparently we are still missing a documentation for the Online Dictionaries

Online Dictionaries need a <from>-<to> in the search query:

parser_re = re.compile('.*?([a-z]+)-([a-z]+) (.+)$', re.I)

By example: en-de The quick brown fox jumps over the lazy dog will use all online dictionaries activated by default.

Like in normal search queries you can select explicit an engine: !lv en-de The quick brown fox jumps over the lazy dog

To activate all online dictionaries in the group translate use !translate en-de hello

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by return42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants