PIMinRiver

inRiver

Set up Language Mapping

Sana is a multi-lingual e-commerce solution. Using language packs in Sana Apps you can install different languages. A language pack allows to display the web store interface in the language of your choice and provides flexibility to translate your web store content to any installed language.

For more information, see "Languages".

There may be different quantity of languages in inRiver and Sana. Also, the languages can be culture-neutral or culture-specific. From this article you will learn how to correctly set up Sana languages in inRiver.

Map the inRiver culture-neutral language to the culture-specific Sana language

Culture-neutral languages, for example en or de, fr, sv, etc., are used in inRiver. Sana, on the contrary, uses culture-specific languages, like "en-us" or "en-gb", "de-de", "fr-fr", "fr-be" etc.

In order to use the languages in the Sana web store, the languages from inRiver should be correctly mapped to the languages in Sana. Thus, you need to create a string which consists of a key and a value (key=value).

In this case a key will be the inRiver language name and a value will be the Sana language name.

As a result, the setting string will look like this:

en=en-us

Map the inRiver culture-neutral language to the multiple culture-specific Sana languages

If, for example, you use more than one language in Sana and there is only one language in inRiver, the languages are mapped in the same way as in the previous case, but the language values (Sana languages) will be separated by comma in the string.

For example, you have German (de) language in inRiver and German - Austria (de-at) and German - Germany (de-de) languages in Sana. You need to map German (de) language from inRiver to both Sana languages.

As a result, the setting string will look like this:

de=de-at,de-de

Map multiple languages from inRiver to the Sana languages

If you need to map multiple languages from inRiver to the multiple languages from Sana, you just need to join the strings into one single string and separate one string from another using a semicolon.

As a result, the setting string will look like this:

en=en-us,en-gb;de=de-at,de-de

In this case, en language in inRiver will be mapped to both "en-us" and "en-gb" languages from Sana; de language in inRiver will be mapped to both "de-at" and "de-de" languages from Sana.

Create a server setting

After you have created the necessary setting string, you need to create a server setting. Go to the Settings in the inRiver Control Center. Create the SANA_LANGUAGE_MAPPING server setting and in the Value field of this setting enter the string you created.

PIMinRiver