Versions Compared

Key

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

...

The name of the user-defined configuration file is arbitrary and must be stored in the same directory like custom.js.
You can add multiple files as the following example.

...

  1. Example

<p style=stylh1. "border-left:2px solid SteelBlue;padding-left:8px;">

Code Block
 The language of the operationsGui is per default english, but some users want the operationsGui in russian and other in french.
 <br/>Create the file ''ru.js'' with the content
 <br/><tt>_sos_lang         = 'ru';</tt>
 <br/>and create the file ''fr.js'' with the content
 <br/><tt>_sos_lang         = 'fr';</tt>
 <br/> 
 <br/>After this you get the operationsGui in russian if you type <tt>http://[scheduler_host]:[scheduler_port]/index.html#ru</tt> 
 <br/>and you get it in french if you type <tt>http://[scheduler_host]:[scheduler_port]/index.html#fr</tt> 

</p>

You can extend the example with using _extra_urls

  1. Example

<p style"border-left:2px solid SteelBlue;padding-left:8px;">

Code Block

 We use the files from the previuos example and add 
 <br/><tt>_extra_urls['english']         = 'http://[scheduler_host]:[scheduler_port]/index.html';</tt>
 <br/><tt>_extra_urls['russian']         = 'http://[scheduler_host]:[scheduler_port]/index.html#ru';</tt>
 <br/><tt>_extra_urls['french']          = 'http://[scheduler_host]:[scheduler_port]/index.html#fr';</tt>
 <br/>in ''fr.js'', ''ru.js'' and ''custom.js''.
 <br/> 
 <br/>If you call the operationsGui you find links in the right top <tt>Extras</tt> menu, so you can easily choose the language.   

</p>

FAQs

See JobScheduler_FAQ