[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-register-public] [task #6018] Submission of A HTML multi langu

From: Gunnar Vestergaard
Subject: [Savannah-register-public] [task #6018] Submission of A HTML multi language authoring helper
Date: Wed, 25 Oct 2006 21:29:02 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fo-fo) AppleWebKit/312.8 (KHTML, like Gecko) Safari/312.6


                 Summary: Submission of A HTML multi language authoring
                 Project: Savannah Administration
            Submitted by: thor376
            Submitted on: Wednesday 10/25/06 at 21:29
         Should Start On: Wednesday 10/25/06 at 00:00
   Should be Finished on: Saturday 11/04/06 at 00:00
                Category: Project Approval
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Percent Complete: 0%
             Open/Closed: Open
                  Effort: 0.00



A new project has been registered at Savannah 
This project account will remain inactive until a site admin approves or
discards the registration.


While this item will be useful to track the registration process, approving
or discarding the registration must be done using the specific "Group
Administration" page, accessible only to site administrators, effectively
logged as site administrators (superuser):



Full Name:
  *A HTML multi language authoring helper*

System Group Name:

  non-GNU software &amp; documentation

  GNU General Public License V2 or later

  When you are writing HTML code and want to create a page in three different
languages, e.g. Faroese, Danish and English, then you would normally create
three HTML files, one for each language. That is common practice. But it can
be done more cleverly so that you write the three languages in one file and
let a program create three new HTML files automatically. I don't know of any
program which will do this, so I had to make it myself.

You create a text file which can have any file name you like. E.g. the name
can be page.txt or page.html. On the first lines of that text file you
specify which languages are used:
.file <language> <outputfile>
where <language> is replaced with a language code that describes which
language is used. You can choose that language code freely. The program does
not specify which meaning a language code has. <outputfile> is replaced with
the name of the file that is written to. There must be such a line for each
language. Then you write the text that you want. Everytime you want to write
in another language, you write a line with a period and the language code and
nothing else. Some text may apply to all languages, and for that a special
language code <all> is used. When you write <.all> then the same text is
written to all the output files.

All this can be better explained with an example, together with source code
and usage guide at

Other Software Required:
  Standard C Library


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]