Low Search language and EE Harbor Transcribe - do they work together?
I just upgraded Low Search to 4.1.1 and am interested in using the lexicon/language settings to filter search results by language as set by EE Harbor Transcribe.
Is this possible?
Replies
Low 21 Apr 2015 15:47
Can't really say. Haven't used Transcribe myself.
But as long as you define a language for a Collection, you can refer to the words in that language by setting the keywords:lang="" parameter, either manually, or by a global var set by Transcribe.
Sean 21 Apr 2015 15:58
A little more details - one channel has both languages that are chosen via the transcribe tab on the publish page.
When doing a search through essentially a simple search form is there a way to filter results so that it would only show from the language of the page currently being viewed. There are two variables that Transcribe sets for this that can be used.
My search tag looks like:
my current results tag is:
{if count == total_results}{/if}
{if no_results}No search results{/if}
{/exp:low_search:results}
currently if I search for Agriculture I get both the french and the English entry in results. Ideally, if on an English page when searching only the English entry would come up and the same for French.
Low 21 Apr 2015 16:02
Again, I'm not a Transcribe expert, so maybe ask their help, too.
The Results tag basically is a wrapper for the channel:entries tag, so any param you could use on there, you can use on the Results tag, too.
Sean 21 Apr 2015 16:15
Low - cool - then I think it should work. Will talk to Tom at EE Harbor if need further help.