Added Xslt Search to my site and worked like a charm... I would like to change the language from english to danish and so i changed this in the XSLT-file:
<xsl:variable name="dictionarySummary-NoMatchesWereFoundFor" select="PS.XSLTsearch:getDictionaryParameter(string(umbraco.library:GetDictionaryItem('[XSLTsearch]Summary-NoMatchesWereFoundFor')),
'No matches were found for')"/>
into:
<xsl:variable name="dictionarySummary-NoMatchesWereFoundFor" select="PS.XSLTsearch:getDictionaryParameter(string(umbraco.library:GetDictionaryItem('[XSLTsearch]Summary-NoMatchesWereFoundFor')),
'Fandt ingen resultater for')"/>
But that didnt do anything...
Anyone know what or where it is i need to change it to work?
Are you sure you've also changed the dictionary item in the admin backend. Me thinks the 2nd param is a fallback in case the dictionary item is not found?
You don't need to change the XSLT, you just need to add the translation to the dictionary.
Have a look at your Dictionary items in Settings section and add the words in for Danish (you must make sure your site is set to Danish by clicking your home node and selecting 'manage host names')
I install XSLT package every thing working fine. But the problem is when i type into the search input box the result is show in my target page and near the input search box. Any one know why it happen. Please provide me the solution..... Thank you.......
xslt search localization
Hi all...
Added Xslt Search to my site and worked like a charm... I would like to change the language from english to danish and so i changed this in the XSLT-file:
<xsl:variable name="dictionarySummary-NoMatchesWereFoundFor" select="PS.XSLTsearch:getDictionaryParameter(string(umbraco.library:GetDictionaryItem('[XSLTsearch]Summary-NoMatchesWereFoundFor')), 'No matches were found for')"/>
into:
<xsl:variable name="dictionarySummary-NoMatchesWereFoundFor" select="PS.XSLTsearch:getDictionaryParameter(string(umbraco.library:GetDictionaryItem('[XSLTsearch]Summary-NoMatchesWereFoundFor')), 'Fandt ingen resultater for')"/>
But that didnt do anything...
Anyone know what or where it is i need to change it to work?
Cheers!...
Crawn,
Are you sure you've also changed the dictionary item in the admin backend. Me thinks the 2nd param is a fallback in case the dictionary item is not found?
Hope this helps.
Regards,
/Dirk
Hey Crawn,
You don't need to change the XSLT, you just need to add the translation to the dictionary.
Have a look at your Dictionary items in Settings section and add the words in for Danish (you must make sure your site is set to Danish by clicking your home node and selecting 'manage host names')
Rich
Ahhh... i totally missed that one... thx guys!...
And thumbs up to you Rich for carving it out in stone, so that people like me (non-coders) also get it :)
I install XSLT package every thing working fine. But the problem is when i type into the search input box the result is show in my target page and near the input search box. Any one know why it happen. Please provide me the solution..... Thank you.......
is working on a reply...