Question

Using the BCS I am crawling external data and I am using Managed Properties to make sure that data is available in search results. I can use the search refiner web part to refine based on one of my managed properties.

For simplicity sake, let's say the property is "Color". The values might be "red", "green", or "blue" for English speakers, but they would be "rojo", "verde", or "azul" for Spanish speakers. I would like the category name to show as "Color" in both languages only because they are the same (if French was used the category/refiner title might show "Couleur").

In my example (and for my real need) the list of colors is finite and relatively small (about 10). The list of languages is also manageable such that I can have all of the values placed in the refiner web part's Filter Category Definition property (if that's where it would go). In addition, I have an integer value for each color that is common across each language so I can use that to my advantage if needed (it can be the Managed Property as long as we show the word and not the number to the user).

Is this possible?

Was it helpful?

Solution

I think that will be hard. My best guess: Create a separate search center/search page per language, and map your refiners on the locaized values. You should use a valuemapping + customfilter for this one: http://msdn.microsoft.com/en-us/library/ee819920.aspx

Using this technique, you can map the value 1 on, for example, red, rojo or rood. It requires you to know beforehand what values are possible, to map it in the correct way.

  • When using a search center per language, you can localize the complete site for the user
  • When using Fast as search engine, the custom value mapping will not work
  • The way this refinement and metadata behaves, is normal.

OTHER TIPS

Look at this Codeplex-project: MUI Search Refinement Panel

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top