You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an easy way to switch the operators to another language ('AND' -> 'UND', 'OR' -> 'ODER') or could that be easily implemented (e.g. by having pluggable grammars)?
The text was updated successfully, but these errors were encountered:
A pluggable grammar would currently not be easily possible, as we'd need a .treetop file for every language - and that would probably mean a lot of duplicate treetop code ...
It could be possible to factor out the operators from the grammar alltogether and to construct AND/OR expressions in ruby directly. Have to think about this, but you better don't expect this to be release any time sooner or later.
Besides being not perfectly elegant, you can of course always map operators before handing the query out to search cop, via e.g. gsub.
Is there an easy way to switch the operators to another language ('AND' -> 'UND', 'OR' -> 'ODER') or could that be easily implemented (e.g. by having pluggable grammars)?
The text was updated successfully, but these errors were encountered: