Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additional languages can be added for new releases. SOS accepts community contributions for language files provided that the contributor:

  • provides quality assurance for a correct translation and
  • commits to on-going language support in subsequent releases for a minimum of one year.

...

  • When starting JOC Cockpit a temporary directory is created with the temp folder:



  • Within the temporary directory hierarchy find language files in Language files with the following folder structure can be found in the temporary directory hierarchy:



Language File Development

...

  • Language files use a JSON format and can be modified with any text editor.
  • Be careful when it comes to use of quotes and commas that have to be in place as visible from shown in the examples. A missing quote or comma invalidates a language file.
  • Validate your language files with a JSON validator utility , - a number of online resources are available.

...

  • Language files are read by JOC Cockpit on first use. Any changes to a language file after this point in time are not considered.
  • Therefore the following development cycle applies:
    1. Store the working copy of your general language file and editor language file in a folder outside of the JOC Cockpit installation.
    2. Start the JOC Cockpit service/daemon.
    3. Copy the your language files and the locales.json file to the target folder as indicated with the section above chapter.
    4. Log in to JOC Cockpit and optionally modify your user profile to use the newly added language. Any new language added to locales.json should become available with your profile.
    5. Test your changes to the language files.
    6. Any modifications to the language files are not immediately considered but require a restart of JOC Cockpit as in step 2).

Language File Build Integration

  • For integration with in our builds build procedure please send your language files to sales@sos-berlin.com or request commit permissions for the GitHub repository https://github.com/sos-berlin/joc-cockpit
  • SOS will add your language files to the build process and will provide nightly builds for download.

...