Difference between revisions of "How to translate"

From ECHSA Congenital Database
Jump to navigationJump to search
 
m
Line 1: Line 1:
 
In order to translate the DataCollectionSoftware into your language, you will need:
 
In order to translate the DataCollectionSoftware into your language, you will need:
  
1. [http://java.sun.com/j2se/1.5.0/download-netbeans.html Net Beans] from Sun (click to download)
+
#[http://java.sun.com/j2se/1.5.0/download-netbeans.html Net Beans] from Sun (click to download)
1. The base language files (we will send them to you when you tell us the language and country)
+
#The base language files (we will send them to you when you tell us the language and country)
  
 
To create a translation, take following steps:
 
To create a translation, take following steps:
Line 10: Line 10:
 
There are two possibilities to get the files:
 
There are two possibilities to get the files:
  
1. Email [mailto:software@magnum2.pl], tell your (1) '''language''' and (2) '''country''' and we will email you the files for translation
+
#Email [mailto:software@magnum2.pl], tell your (1) '''language''' and (2) '''country''' and we will email you the files for translation
1. Download translation files from the website: read instructions on page "[[Downloading language files]]"
+
#Download translation files from the website: read instructions on page "[[Downloading language files]]"
  
 
Place the language files in one directory on your hard disk, for example in directory <tt>C:\trans</tt> (you can create it).
 
Place the language files in one directory on your hard disk, for example in directory <tt>C:\trans</tt> (you can create it).
Line 26: Line 26:
 
== Step 3. Open files with Net Beans ==
 
== Step 3. Open files with Net Beans ==
  
* Run the Net Beans. You should see the welcome screen. <br> The Net Beans software needs about 256MB of RAM to run and it also takes time to start up. <br> [[Image:NetBeansWelcome.jpg]]
+
*Run the Net Beans. You should see the welcome screen. <br> The Net Beans software needs about 256MB of RAM to run and it also takes time to start up. <br> [[Image:NetBeansWelcome.jpg]]
* Go to "File" menu, and click on "Open File" <br> [[Image:OpenFileMenu.png]]
+
*Go to "File" menu, and click on "Open File" <br> [[Image:OpenFileMenu.png]]
* Select the file <pre>ecdbc_lang.properties</pre> and click "Open" <br> [[Image:OpenFileLang.png]]
+
*Select the file <pre>ecdbc_lang.properties</pre> and click "Open" <br> [[Image:OpenFileLang.png]]
* You will see 3 columns, "Key", "default language" and your language. Edit the text in your language column, and '''only''' this column <br> [[Image:Columns.png]]
+
*You will see 3 columns, "Key", "default language" and your language. Edit the text in your language column, and '''only''' this column <br> [[Image:Columns.png]]
* When done, press "Save All" button <br> [[Image:SaveAll.png]]
+
*When done, press "Save All" button <br> [[Image:SaveAll.png]]
  
 
== Step 4. Send the files to us ==
 
== Step 4. Send the files to us ==
  
 
Send all the files to [mailto:software@magnum2.pl]. The translation will be included in the nearest software release.
 
Send all the files to [mailto:software@magnum2.pl]. The translation will be included in the nearest software release.

Revision as of 10:59, 24 September 2005

In order to translate the DataCollectionSoftware into your language, you will need:

  1. Net Beans from Sun (click to download)
  2. The base language files (we will send them to you when you tell us the language and country)

To create a translation, take following steps:

Step 1. Get the files for translation

There are two possibilities to get the files:

  1. Email [1], tell your (1) language and (2) country and we will email you the files for translation
  2. Download translation files from the website: read instructions on page "Downloading language files"

Place the language files in one directory on your hard disk, for example in directory C:\trans (you can create it).

Both files have to be in the same directory and their names must be preserved! It means, that there should be two files in your directory, like this:

ecdbc_lang.properties
ecdbc_lang_xx_YY.properties

(xx_YY should be replaced with your language and country codes)

Step 2. Install Net Beans

Download and install the Net Beans from Sun, Net Beans Download Site. Net Beans is necessary to handle all national WikiPedia:diacritic characters, for example: å, æ, ø. It will also take care of the translation file format.

Step 3. Open files with Net Beans

  • Run the Net Beans. You should see the welcome screen.
    The Net Beans software needs about 256MB of RAM to run and it also takes time to start up.
    NetBeansWelcome.jpg
  • Go to "File" menu, and click on "Open File"
    OpenFileMenu.png
  • Select the file
    ecdbc_lang.properties
    and click "Open"
    OpenFileLang.png
  • You will see 3 columns, "Key", "default language" and your language. Edit the text in your language column, and only this column
    Columns.png
  • When done, press "Save All" button
    SaveAll.png

Step 4. Send the files to us

Send all the files to [2]. The translation will be included in the nearest software release.