Lingoes Appendix Demo

How to make Lingoes Appendix:

You can make appendix content of your own by editing this file.
 

  1. Here is a files list should be included in an appendix project:
     
    Filename Explanation File Format
    index.html Main file of appendix, namely this file.
    • You can make your own appendix via editing the file.
      We support CSS, JavaScript, VBScript and Flash.
    • If you would like to build multi-language version, please create file:
      index-language code.html
      e.g. index-fr.html is for French
      e.g. index-de.html is for German
      Then edit content of corresponding files and just ok.
    • Lingoes will call the file same with current language while it starts. If the file cannot be found, the default index.html will be replaced as a candidate.
    HTML format with Unicode
    logo16.png The small icon of appendix.
    You can change it as your favorite image.
    PNG file with 16x16 pixels & 256 colors
    logo24.png The medium icon of appendix.
    You can change it as your favorite image.
    PNG file with 24x24 pixels & 256 colors
    logo32.png The large icon of appendix.
    You can change it as your favorite image.
    PNG file with 6x16 pixels & 256 colors
    setup.xml The configuration file for installing the appendix into Lingoes.
    • You can modify the propoty of title in <item> tag to change the title default displayed.
    • To set up corresponding title for different language, please add the property of "title-language-code". For example, add title-zh-CN="显示标题" to add Display Title in Simplified Chinese, title-de="meine Demo" in German, the content of title must be inside of quotation marks.
    • No editing other part.
    XML format with Unicode
    This is an example:
    <item name="demo" title="My Demo" title-zh-CN="我的附录" title-de="meine Demo"  />

     

  2. All of additional content which appendix need, e.g. image files, CSS files, JavaScript files, Flash files, etc. must be in a same project folder.
     
  3. The following Substitution Variables is available in the index.html and JS Files.

    <html>
    <head>
    ...

    <script language="JavaScript" type="text/javascript" src="../var.js"></script>
    ...
    </head>

     

    Variable Name Explanation
    g_LangCode Language code used currently, en for English, fr for French, etc.
    g_Dir Text written directions in current user's language, e.g. English is from left to right: ltr, Arabic is from right to left: rtl.
    e.g. document.body.dir = g_Dir;
    g_UIFont Window font which current user set up
    g_UIFontSize Font size in the appendix, unit is pt
    g_TextFont Font family in the appendix
    g_PhoneticFont Phonetic font family which current user set up
    g_TextFontSize Font family which current user set up, standard size, unit is pt
    g_TextFontSizeL Font family which current user set up, large size, unit is pt
    g_TextFontSizeS Font family which current user set up, small size, unit is pt

     

  4. Then, open the window of appendix editor and select the folder in which the project locates, and click Create New Project button, the new appendix will be made and a .laf file will be created.

     
  5. Now, you can build a wonderful appendix. Send your works attached your annotations to kevin-yau@msn.com to share them with millions of Lingoes' users on the world. We will release your works in Lingoes.net and recommend them to all of lingoes' users after testing them.

     
  6. To share it with others, you will be happier rather than yourself. We work out the so easy used system, and hope you can bring more surprise to others. Directly contact me if you have any problem in the process of the working.
     

Lingoes Manager
kevin-yau@msn.com
http://www.lingoes.net/