Orinj Languages

Orinj version 7.0.0

Orinj supports multiple languages.

Language XML files

The folder "orange/languages" of the Orinj installation contains the XML files for the different languages supported by Orinj. During startup, Orinj examines this folder to determine what languages are available. You can add languages to Orinj by creating additional XML files and placing them in this folder (see below).

Downloads

The following is the XML file for English. This is an example that you can modify for another language, as described below.

eng.xml July 6, 2022 The XML file for English (142 KB).

 

Creating an additional language

To create a language:

  • Create a copy of one of the existing XML files (e.g., the example above).
  • Rename the file with the appropriate three-letter language code. Use the ISO 639-2 three letter codes. (Technically, you can use any name you want, but staying with the ISO convention ensures that languages will not be duplicated).
  • Edit the new XML file.
    • Note that the structure of this XML file is defined by the Orinj language schema orinjlang.xsd.
    • Change the name of the language under the <language> tag. Use any name you want.
    • Change the language code under <code> tag. Use the ISO 639-2 three-letter codes.
    • Translate each string under the tags. Leave the strings under <itemtag> unchanged, but translate the strings under <itemvalue>. Orinj will look for the <itemtag> tags in English and will display the values under <itemvalue>. Translating these strings will change all strings in Orinj – tooltips, error messages, labels for controls – except for menus. Menus are described below.
    • Similarly, for menus, translate each string under the <menu> tags. Leave the strings under <menutag> unchanged, but translate the strings under <menuvalue> and choose mnemonics for the translated string under <menumnemonic>. To leave a menu without a mnemonic, leave a blank space under <menumnemonic>.

Add new comment

Filtered HTML

  • Freelinking helps you easily create HTML links. Links take the form of [[indicator:target|Title]]. By default (no indicator): Click to view a local node.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.