How to configure service engine (Data Science Service for Spotfire) with language pack

How to configure service engine (Data Science Service for Spotfire) with language pack

book

Article ID: KB0135701

calendar_today

Updated On:

Products Versions
Spotfire Statistica 14.0.1 and Higher
Spotfire Statistica 14.0.1 and Higher

Description

Using a different language workspace works well in Statistica, where various language packs are applied. However, when running through the Spotfire data function, an error occurs because the generated variable names are in these languages. The Statistica engine in Spotfire does not seem to recognize these languages.

For example, a formula with a variable named 'Mittlere' in German causes an error when run via the Data Function in Spotfire. 
 
 image.png 
The error being observed :
 image.png 

Environment

Windows Server

Resolution

In the above use case, replacing the Variable name with a Variable Number works to overcome the naming clash that arose due to language barriers between engines.

image.png

To address this issue at its root, it can be resolved by executing the Statistica engine within the Spotfire Data Science Service, accompanied by a language pack.

Each Windows system has a setting for what localized language to use. When the software starts up, it queries the system to determine what language to use. Based on what the system returns to the software, it searches for DLLs that contain those resources. Placing language packs in the execution folder and ensuring the system's localized language is set properly can make the Service engine consume these language packs.

Place these language packs in the Statistica Service node :

image.png

You can include all available language packs in the Spotfire extensions to make sure they get picked up when appropriate.

Issue/Introduction

This article contains information about applying the language packs on Statistica Service Engine deployed in Spotfire.