Configure Languages and Texts¶
For PLOSSYS Administrator, you can add a new language or change specific texts in an existent language.
Add a New Language¶
-
Change to the following directory. If it does not exist, you have to create it.
C:\Program Files\SEAL Systems\seal-plossysadmin\additional_languages\ -
Create a new language file by copying an existing one from the
C:\Program Files\SEAL Systems\seal-plossysadmin\public\assets\i18ndirectory. Replace<language>with the name for the new language, for examplefrfor french.cp /opt/seal/seal-plossysadmin/public/assets/i18n/en.json <language>.json -
Translate the values in the new file
C:\Program Files\SEAL Systems\seal-plossysadmin\additional_languages\<language>.json. -
In the configuration of the
seal-plossysadminservice, add the new language<language>to theAVAILABLE_LANGUAGESkey. -
Close PLOSSYS Administrator.
-
Restart the following service:
seal-plossysadmin
-
Open PLOSSYS Administrator.
Change a Text in an Existent Language¶
-
Change to the following directory. If it does not exist, you have to create it.
C:\Program Files\SEAL Systems\seal-plossysadmin\additional_languages -
Create an additional language file for the language
<language>-diff.json, for example,en-diff.json. If it already exists, edit the file. -
Copy the section to be changed from the original language file
C:\Program Files\SEAL Systems\seal-plossysadmin\public\assets\i18n\<language>.jsonto<language>-diff.jsonand change the value.Example - change translation for
adjustPunchType{ "PRINTERS": { "DETAILS": { "adjustPunchType": "Punching" } } }Hint - merge
The diff files are merged to the language files. So only the differences are to be specified here. The values in the diff files take priority.
-
Close PLOSSYS Administrator.
-
Restart the following service:
seal-plossysadmin
-
Open PLOSSYS Administrator.