Configure Facet Languages - Fluid Topics - 3.4 - Technical Notes

Manage Languages in Fluid Topics

Product
Fluid Topics
Fluid Topics Version
3.4
Category
Technical Notes
Target Audience
public

The language used to configure facets must be defined in the conf.json configuration file.

Edit the following file:

As antidot user

/usr/local/afs7/Fluid-Topics/conf/$TENANT_ID/conf.json

To add a facet label related to the interface language for the facets generated in the Fluid Topics Portal:

In the descriptors parameter of the metadata parameter in the ui object, add the id of the facet and the corresponding label with the ISO code of the desired UI language, as in the following example:

{
  "projectName": "Antidot Technical Publications",
  "ui": {
    ...
    "metadata": {
      "descriptors": [
        {
          "id": "Facet_1",
          "label": {
            "en-US": "Name of facet 1 in English",
            "fr-FR": "Nom de facette 1 en Fran├žais"
          }
        },
        {
          "id": "Facet_2",
          "label": {
            "en-US": "My facet 2",
            "fr-FR": "Ma facette 2"
          }
        }
      ],
    ...
    }
  }
}
Note: See more information about facet configuration .