Skip to content

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

  1. Change to the following directory. If it does not exist, you have to create it.

    C:\Program Files\SEAL Systems\seal-plossysadmin\additional_languages\
    
  2. Create a new language file by copying an existing one from the C:\Program Files\SEAL Systems\seal-plossysadmin\public\assets\i18n directory. Replace <language> with the name for the new language, for example fr for french.

    cp /opt/seal/seal-plossysadmin/public/assets/i18n/en.json <language>.json
    
  3. Translate the values in the new file C:\Program Files\SEAL Systems\seal-plossysadmin\additional_languages\<language>.json.

  4. In the configuration of the seal-plossysadmin service, add the new language <language> to the AVAILABLE_LANGUAGES key.

  5. Close PLOSSYS Administrator.

  6. Restart the following service:

    • seal-plossysadmin
  7. Open PLOSSYS Administrator.


Change a Text in an Existent Language

  1. Change to the following directory. If it does not exist, you have to create it.

    C:\Program Files\SEAL Systems\seal-plossysadmin\additional_languages
    
  2. Create an additional language file for the language <language>-diff.json, for example, en-diff.json. If it already exists, edit the file.

  3. Copy the section to be changed from the original language file C:\Program Files\SEAL Systems\seal-plossysadmin\public\assets\i18n\<language>.json to <language>-diff.json and 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.

  4. Close PLOSSYS Administrator.

  5. Restart the following service:

    • seal-plossysadmin
  6. Open PLOSSYS Administrator.


Back to top