I18n Item Transformation

Help

Copyright ©

Mindbreeze GmbH, A-4020 Linz, 2018.

All rights reserved. All hardware and software names used are brand names and/or trademarks of their respective manufacturers.

These documents are strictly confidential. The submission and presentation of these documents does not confer any rights to our software, our services and service outcomes, or any other protected rights. The dissemination, publication, or reproduction hereof is prohibited.

For ease of readability, gender differentiation has been waived. Corresponding terms and definitions apply within the meaning and intent of the equal treatment principle for both sexes.

IntroductionPermanent link for this heading

Mindbreeze offers metadata internationalization. To do this, the I18n Item Transformation plugin is used for indexing.

I18n Item Transformation pluginsPermanent link for this heading

To use internationalization, the I18n Item Transformation plugin must be added to your Mindbreeze installation by loading the corresponding plugin (the Item Transformation Services are delivered with the package “Mindbreeze Item Transformation Plugins“).

The plugin also has to be included in your Mindbreeze license.

InstallationPermanent link for this heading

  • Install the plugin (either using the UI Manager or using the command line tool mesextension)

mesextension --interface=plugin --type=archive --file=I18nItemTransformation-<version>.zip install

ConfigurationPermanent link for this heading

  • Enable the plugin for each desired index using the UI Manager:
    • Go to the “Indices”  tab and activate “Advanced Settings”
    • Scroll down to the section “Item Transformation Services
    • Select the “I18n Item Transformation” plugin and click “Add”
    • Under Resource Settings, click the plus icon for I18n Property.

  • Property Name: the name of the metadata for which the internationalization is to be carried out.
  • I18n Resource Directory: the directory in which the translation files are located. The name of the file defines the language, e.g. de.csv or en.csv. All files in a directory must have the same format.
  • I18n Resource Format: the file format of the translation files.
    • CSV: The first column contains the metadata values and the second column contains the corresponding translations. For example:

404; not found

401; not authorized

  • JSON: This file consists of a list of JSON keys/value pairs. For example:

{

    "404": "Not found",

    "401": “Not authorized"

}