Hello,
Ive some custom managed properties which should be used as a refiner. The search center site is created with English as default language and German as alternative language.
The managed properties have a more technical name and I want to give some more user friendly name. The refiner web part has the possibility to give a friendly display name. However this seems not to be mui enabled. If for example I add the display name in English with English as browser language, change to German as browser language and set the display name in German and then change back to English as browser language, the English display name entered before was overwritten by the German display name.
However I found this reference.
https://technet.microsoft.com/en-us/library/gg549985.aspx#BKMK_DisplayName
https://msdn.microsoft.com/en-us/library/office/jj945138.aspx
so I added
$registerResourceDictionary("en-us", {
"sampleCustomStringId": "Sample custom string",
"rf_RefinementTitle_ManagedPropertyName": "Sample Refinement Title for ManagedPropertyName"
"rf_RefinementTitle_ItemLanguage": "Language"
});
to the en-us CustomString.js and the de-de CustomSting.js
and
<script>
$includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
</script>
directly beyond the <body> tag in Filter_default.html
I checked in all files and did a publish.
However nothing changed. Still the technical refiner name is shown.
Any change to get the refiner display name multi language?