THIS IS ARCHIVED DOCUMENTATION

The Experience Editor for Non-Default Language Page Fails to Load When Using Coveo for Sitecore Hive

Coveo for Sitecore 4.1 (April 2018) 

Symptoms

When attempting to edit a Coveo for Sitecore Hive search page using another language version than the default one, the page appears empty.

Errors caused by invalid culture files might also appear in the browser console.

Causes

The issue is caused by the new language creating new placeholder keys, making it so that components fail to be connected together.

Resolution

This issue is fixed in the April 2018 release of Coveo for Sitecore.

For older versions of Coveo for Sitecore, you can perform this workaround:

Step 1: Update the Template Fields

To update the template fields, install the Coveo for Sitecore - Set Shared Fields-1.0.zip Sitecore package.

The package contains only Sitecore items. If you have many front-ends connected to the same database, you only need to install the package once.

Step 2: Ensure that the Culture Files Exist

To support a language such as fr-CA, follow these steps:

  1. Verify if the culture file exists. Culture files are in the website under Website\Coveo\Hive\js\cultures.
  2. If the file fr-CA.js doesn’t exist, select fr.js and copy it to fr-CA.js.

Step 3: Ensure that the Language Versions Exist for the Components Datasources

  1. Navigate to the Coveo for Sitecore Hive page, then to the datasource item.
  2. Select the language version (for example, fr-CA).
  3. Click the Add new version link.
  4. Edit the Data Source item fields for the language version if needed.
  5. Repeat for the other Data Source items.