Currently, invoking the .tr command with a bad language code will silently fall back on default behavior, e.g. my usual habit of using :jp instead of :ja
<+SnoopJ> .tr :jp :en むりです
<+Sopel> [translate] "むりです" (en to en, translate.google.com)
There's a TODO in the plugin about this, which suggests one path forward. A simple check against ISO language codes will probably suffice for the sake of this issue.
Requested Feature
Currently, invoking the
.tr
command with a bad language code will silently fall back on default behavior, e.g. my usual habit of using:jp
instead of:ja
There's a
TODO
in the plugin about this, which suggests one path forward. A simple check against ISO language codes will probably suffice for the sake of this issue.Problems Solved
No response
Alternatives
No response
Notes
No response