Languages

Top  Previous  Next

Customization > Languages


 

Description

 

The available languages in FLOE are dynamically listed depending on the language packages in the "languages"-folder.

It is build via the standard XML and it is very important that the structure is correct. An incorrect structure could cause a system malfunction.

 

To create a new one just copy one of the available language packages rename it to the new language and edit it like described below.

 

 

 

Sample

 

Editable text is highlighted like this... sample text

 

<?xml version="1.0" encoding="utf-8"?>

<language>

  <section name="global">

    <actions>Actions</actions>

    <activated>Activated</activated>

    <add>Add</add>

    <all>All</all>

    <amount>Amount</amount>

    <back>Back</back>

    <bytes_per_second>Bytes per second</bytes_per_second>

    ...

  </section>

  ...

  <section name="messages">

    <cannot_connect>

      Cannot connect to server. The system is now locked.

      The connection has been broken or a file is missing.

      Please proof your connection or the correct installation of FLOE.

    </cannot_connect>

    ...

    <delete_the_selected_TYPES>Delete the selected %types%</delete_the_selected_TYPES>

    ...

  </section>

  ...

  <section name="menus">

    ...

    <filesystem>

      <menu label="Details">

        <menuitem label="Update on select" value="updateSelect" type="check"/>

        <menuitem label="Preview images" value="previewImages" type="check"/>

        <menuitem type="separator"/>

        <menuitem label="From current path" value="currentPath" type="normal"/>

        <menuitem label="From selected item(s)" value="selectedItems" type="normal"/>

      </menu>

      <menu label="File transfer">

        <menuitem label="Download selected file..." value="downloadFile" type="normal"/>

        <menuitem label="Stream selected file(s)" value="streamFiles" type="normal"/>

        <menuitem type="separator"/>

        <menuitem label="Upload file(s)..." value="uploadFile" type="normal"/>

        <menuitem type="separator"/>

        <menuitem label="Share selected file..." value="shareFile" type="normal"/>

      </menu>

      ...

    </filesystem>

    ...

  </section>

  ...

  <section name="characters">

    ...

    <collection label="African Scripts">

      <charset label="Ethiopic" min="1200" max="137F"/>

      <charset label="Ethiopic Supplement" min="1380" max="139F"/>

      <charset label="Ethiopic Extended" min="2D80" max="2DDF"/>

      <charset label="Tifinagh" min="2D30" max="2D7F"/>

    </collection>

    ...

  </section>

  ...

</language>

 

 

 

Node types

 

String

Description

Editable

<language>

</language>

Root node of the document.

forbidden

<section name="...">

</section>

Child node for named section.

forbidden

<sample_text>Sample text</sample_text>

Translation text where only the highlighted string has to be translated and replaced.

check

<floe>

</floe>

Child node for "Main" menu.

forbidden

<filesystem>

</filesystem>

Child node for "Filesystem" menu.

forbidden

<editor>

</editor>

Child node for "Editor" menu.

forbidden

<tools>

</tools>

Child node for "Tools" menu.

forbidden

<sessions>

</sessions>

Child node for "Sessions" menu.

forbidden

<menu label="...">

</menu>

Attributes:

label = Menu caption [String]

check

<menuitem label="..." value="..." type="..."/>

Child node of "menu" node.

 

Attributes:

label = Menu item caption [String]

 

Note: Do not edit the following attributes or the system may not work correctly.

value = Menu action code [String]

type = Menu item type [String]

check

<menuitem type="separator"/>

Child node of "menu" node.

Menu separator

forbidden

<collection label="...">

</collection>

Attributes:

label = Character collection label [String]

check

<charset label="..." min="0530" max="058F"/>

Child node of "collection" node.

 

Attributes:

label = Characer item label [String]

min = Unicode start code of range [Integer] (Hexadecimal)

max = Unicode end code of range [Integer] (Hexadecimal)

check

 

 

 

 

 



  © 2006 unic8 Studios