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 /opt/seal/seal-plossysadmin/public/assets/i18ndirectory.
- 
Copy an existent language file, such as en.jsonto a new language file,<language>.json, for example,fr.json, and move it to the customer-specific directory/opt/seal/seal-plossysadmin/additional_languages.
- 
Translate the values of the keys in the new language file, /opt/seal/seal-plossysadmin/additional_languages/<language>.json.
- 
For the already existing languages, add the new language to the language selection. For this, create an additional language file for the already existing language <already_existing_language>-diff.json, for example,en-diff.json, and move it to the customer-specific directory/opt/seal/seal-plossysadmin/additional_languages. If it already exists, edit the file. Here, add the following section for the language token and the text shown in the selection:{ "SEAL_HEADER": { "LANGUAGE": { "language_token": "language_selection_text" } } }Example - add French { "SEAL_HEADER": { "LANGUAGE": { "fr": "Français" } } }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. 
- 
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 /opt/seal/seal-plossysadmin/public/assets/i18ndirectory.
- 
Create an additional language file for the language <language>-diff.json, for example,en-diff.json, and move it to the customer-specific directory/opt/seal/seal-plossysadmin/additional_languages. If it already exists, edit the file.
- 
Copy the section to be changed from the language file, /opt/seal/seal-plossysadmin/public/assets/i18n/<language>.jsonto the additional language file,/opt/seal/seal-plossysadmin/additional_languages/<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 and reopen PLOSSYS Administrator.