SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are using custom XSL to transform the search results. There is a couple of labels in the custom search results and these need to be localized when user changes language. This article explains how is that is with CQWP but it seems CoreResults WebPart does not use dsQueryResponse and I have no idea how to get this to work.

share|improve this question
up vote 1 down vote accepted

Managed to solve this, here is what you need to do:

  • A Resource file (e.g. YourResourceFileName.resx) must be placed in inetpub directory e.g. *C:\inetpub\wwwroot\wss\VirtualDirectories\80\App_GlobalResources*
  • Parameter binding must be created for each resource you plan to use e.g.

    <ParameterBinding Name="ParameterName" Location="Resource(YourResourceFileName,NameOfResourceToBeExtracted)">

  • Use the following syntax to display the value:

    <xsl:value-of select="$ParameterName"/>

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.