Mervis SCADA can display project texts, such as datapoint names, groups and schema texts, in other languages. The translations are stored in dictionary files that you upload to the project in the Portal, one file per language.
Note: This page covers translating the project content. To change the language of the Mervis SCADA user interface itself, see Languages.
Create one dictionary file for each language you want to translate into.
The file name has the following format:
<project guid>.<language code>.dict
| Part | Description | Example |
|---|---|---|
| Project GUID | Shown in the Guid column of the project list and in the project detail panel. | 461cef47-30f6-4a9a-ae03-1ce8c62fdc82 |
| Language code | Code of the language the file translates into. | cs |
| Extension | Always .dict | .dict |
The dictionary is a JSON object. Each entry consists of:
Example of 461cef47-30f6-4a9a-ae03-1ce8c62fdc82.cs.dict (English project texts translated to Czech):
{
"Group": "Skupina",
"analog setpoint with timestamp": "analogový setpoint s časovou známkou",
"ALARM": "ALARM 1",
"INIT": "Nastavovací tlačítko"
}
| Text | Source |
|---|---|
| Datapoint names | Data file |
| Groups | Data file |
| Texts in text blocks | Schemas |
| Datapoint states | Action property |
| Buttons | Schemas |
| Multi-line texts | Schemas |
Note: Translation of datapoint states, buttons and multi-line texts requires a recent version of Mervis SCADA.
Write each line break as \n. The left side must contain the line breaks exactly as in the original text. The right side can break the translation wherever you need:
{
"Ochrana\nolejového čerpadla": "Oil pump\nprotection",
"Čidlo Pt100\nv pečné komoře": "Pt100 sensor\nin baking chamber"
}
Warning: If the left side does not match the original text, including line breaks, the text is not translated.
.dict files.l10n folder with the type TranslationDictionary.Note: Dictionary files are not data files, so applying them does not stop the project.
To change a translation, edit the dictionary file and upload it again with the same name.