Versions Compared

Key

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

...

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 &#160; &#160; &#160; &#160; &#160;    = 'ru';</tt>
 <br/>and create the file ''fr.js'' with the content
 <br/><tt>_sos_lang &#160; &#160; &#160;     &#160; &#160; = '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> 

...

Code Block
 We require the files from the previuos example and add 
 <br/><tt>_extra_urls['english'] &#160; &#160; &#160;      &#160; = 'http://[scheduler_host]:[scheduler_port]/index.html';</tt>
 <br/><tt>_extra_urls['russian'] &#160; &#160;       &#160; &#160; = 'http://[scheduler_host]:[scheduler_port]/index.html#ru';</tt>
 <br/><tt>_extra_urls['french']&#160; &#160; &#160;       &#160; &#160; = 'http://[scheduler_host]:[scheduler_port]/index.html#fr';</tt>
 <br/>in the ''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.   

...