Active
Project:
Localization server
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 03:09 UTC
Updated:
6 Apr 2011 at 17:38 UTC
Currently, if you type something like "check pay" in the "contains" filter in the translation interface, the results only show strings like "*check pay*". Far more useful would be to treat each (space separated) word as a single search term, and match any string like "*check*pay*" or "*pay*check*".
Also, it would be great to be able to use boolean filters like this: (Sorry, I'm trying to translate ubercart...) "check -checkout", to match any string which doesn't include "checkout", but which does include "check".
Lastly, it would be good to *optionally* be able to search for phrases, by surrounding them with quotes, so that the old behaviour can be emulated.
Comments
Comment #1
naught101 commentedit would also be to be able to search for words like "the" without finding words like "weather". If the phrase option came in, it would be possible to search for " the " (with spaces), but that doesn't work when the word is surrounded by punctuation.
I wonder if it might be possible to have a basic regexp formatting? \b for word boundary would fix this particular problem.
Comment #2
gábor hojtsyTo implement this, we'd actually need something like an actual text search backend, where all this information can be indexed. Applying rules of certain languages (like word splitting for Chinese) are interesting subtasks there as well.
Comment #3
gábor hojtsyGiven the complexity of this one, I think it looks unlikely that this will be implemented soon.
Comment #4
gábor hojtsyAdded #1118430: Set up the filtering/display setting UI for future growth to set us up for filter extensions like this.