Translation: Difference between revisions

From FreeMind
Jump to navigationJump to search
No edit summary
 
(Take over from Development)
Line 1: Line 1:
How to contribute translations to FreeMind follows.
How to contribute translations to FreeMind follows.
==Step-by-step overview==
# Get the latest English translation.
# Get the latest translation for your language.
# Find what is missing.
# Complete what is missing.
# Convert to Java unicode notation of needed.
# Post to Translations tracker.
==Detail==
Look for a translation into your language present in the development  [http://cvs.sourceforge.net/viewcvs.py/freemind/freemind/?only_with_tag=fm_041017_base_integration branch].
If such a translation isn't present, take [http://freemind.cvs.sourceforge.net/freemind/freemind/Resources_en.properties?view=log the latest revision of Resources_en.properties]. Translate the labels in the text at the right side from = to your language.
You can directly create and edit any java property file in any language using [http://propedit.sourceforge.jp/index_en.html propedit].
: This editor can directly edit property files written in Unicode reference characters, and saves the time and effort of converting into Unicode through native2ascii. In addition to the usual functions of an editor, the plugin is integrated with Eclipse and JBuilder. Files can be opened in the IDE and saved in Unicode. It can use by intuitive and simple operation. For details, see [http://sourceforge.jp/projects/propedit Propedit].
Another interesting tool to manage language property files is [http://popeye.sourceforge.net/ popeye]. Popeye can deal with several language property files at the same time so you can contrast the original property file data with their translations. Also, the program can highlight all properties that do not have a translation set in one of the selected languages.
Alternatively you can save your property file in UTF-8 encoding; this is possible e.g. using Microsoft Notepad. After that convert the file into \uXXXX Unicode escape notation, using [http://java.sun.com/j2se/1.3/docs/tooldocs/win32/native2ascii.html native2ascii] tool included with the Java SDK. Example of use (Resources_cs.properties.txt is before conversion):
cd C:\j2sdk1.4.2\bin>
native2ascii.exe -encoding UTF8 Resources_cs.properties.utf8.txt Resources_cs.properties
Ideally, your file's name will be ''Resources_xx.properties'', where ''xx'' is the code of the language (e.g. en, de, dk etc.).
[http://sourceforge.net/tracker/?group_id=7118&atid=307118 Send your translation to Translations tracker] afterwards.
To convert \uXXXX Unicode encoded file back to UTF-8, use a command similar to the following.
cd C:\j2sdk1.4.2\bin>
native2ascii.exe '''-reverse''' -encoding UTF8 Resources_cs.properties Resources_cs.properties.utf8.txt
==State of translation==
Currently, we have the following languages translated.
{| border="1" cellspacing="0" cellpadding="2"
! colspan="7" style="background:#fff8f0;" | Already Translated Languages
|-------------------------------------------------
! | Language || Language    || Short || If released || Translator || Reviewer || Capitalized Titles
|-----------------------------------------------------------------
| Czech    || Česky      || cs || not released || Radek Švarz || Daniel Polansky ||No
|-----------------------------------------------------------------
| Chinese    || trad.chinese || zh|| [http://sourceforge.net/tracker/index.php?func=detail&aid=1179121&group_id=7118&atid=307118 released] || [http://java.fromtw.com william chen] ||   ||  
|-----------------------------------------------------------------
| Chinese    || simp.chinese || zh_CN|| [http://sourceforge.net/tracker/index.php?func=detail&aid=1179573&group_id=7118&atid=307118 not released] || [http://java.fromtw.com william chen] ||    ||  
|-----------------------------------------------------------------
| Danish  || Dansk      || dk || released    ||            ||                || 
|-----------------------------------------------------------------
| Dutch    || Nederlands  || nl || [http://sourceforge.net/tracker/index.php?func=detail&aid=1157653&group_id=7118&atid=307118 released] || Koen Roggemans ||              ||No
|-----------------------------------------------------------------
| English  || English    || en || released    || N/A        ||                  || Yes
|-----------------------------------------------------------------
| Finnish ||  Suomi      || fi  || not released || Matti Lassila ||      ||
|-----------------------------------------------------------------
| French  || Francais    || fr || released    ||            ||                  ||
|-----------------------------------------------------------------
| German  || Deutsch    || de || released    || Christian Foltin ||                ||
|-----------------------------------------------------------------
| Hungarian ||            || ?  || not released || [http://documan.sourceforge.net/ documan] ||      ||
|-----------------------------------------------------------------
| Italian  || Italiano    || it || released    || Bob Alexander ||      ||
|-----------------------------------------------------------------
| Japanese || Nihongo    || ja || released    || Kohichi Aoki ||        ||
|-----------------------------------------------------------------
| Korean  || Hangeul      || kr || [http://sourceforge.net/tracker/index.php?func=detail&aid=1236421&group_id=7118&atid=307118 released(rc5)]    || Kim Jong Woo ||        ||
|-----------------------------------------------------------------
| Polish  || Polski      || pl || not released || Rafal Kraik      ||  || No
|-----------------------------------------------------------------
| Portuguese || Português || pt || not released || Luis Ferreira      ||  ||
|-----------------------------------------------------------------
| Brazilian Portuguese || Português brasileiro || pt_BR || not released || [http://sourceforge.net/sendmessage.php?touser=1492544 Rodrigo Rizzi Starr]  ||  ||
|-----------------------------------------------------------------
| Russian  || Pусский    || ru || not released || Prokudin Alexander ||    ||
|-----------------------------------------------------------------
| Slovenian  ||      || sl || released    ||  Martin Srebotnjak - filmsi      ||    || No?
|-----------------------------------------------------------------
| Spanish  || Espanol    || es || released    || Hugo Gayosso      ||    || Yes
|-----------------------------------------------------------------
| Turkish  || Türkçe      || tr || [https://sourceforge.net/tracker/download.php?group_id=7118&atid=307118&file_id=186544&aid=1530176 not released] || Uğur Çetin        ||    || Yes
|}
To activate a new translation, follow the following steps:
* write or download the Resources_xx.properties file;
* unpack the freemind.jar file with 7-Zip or similar into a temp folder;
* replace or add the Resources_xx.properties with the new one;
* repack the freemind.jar with the modified content of the temp folder.

Revision as of 08:23, 2 June 2007

How to contribute translations to FreeMind follows.

Step-by-step overview

  1. Get the latest English translation.
  2. Get the latest translation for your language.
  3. Find what is missing.
  4. Complete what is missing.
  5. Convert to Java unicode notation of needed.
  6. Post to Translations tracker.

Detail

Look for a translation into your language present in the development branch. If such a translation isn't present, take the latest revision of Resources_en.properties. Translate the labels in the text at the right side from = to your language.

You can directly create and edit any java property file in any language using propedit.

This editor can directly edit property files written in Unicode reference characters, and saves the time and effort of converting into Unicode through native2ascii. In addition to the usual functions of an editor, the plugin is integrated with Eclipse and JBuilder. Files can be opened in the IDE and saved in Unicode. It can use by intuitive and simple operation. For details, see Propedit.

Another interesting tool to manage language property files is popeye. Popeye can deal with several language property files at the same time so you can contrast the original property file data with their translations. Also, the program can highlight all properties that do not have a translation set in one of the selected languages.

Alternatively you can save your property file in UTF-8 encoding; this is possible e.g. using Microsoft Notepad. After that convert the file into \uXXXX Unicode escape notation, using native2ascii tool included with the Java SDK. Example of use (Resources_cs.properties.txt is before conversion):

cd C:\j2sdk1.4.2\bin>
native2ascii.exe -encoding UTF8 Resources_cs.properties.utf8.txt Resources_cs.properties

Ideally, your file's name will be Resources_xx.properties, where xx is the code of the language (e.g. en, de, dk etc.).

Send your translation to Translations tracker afterwards.

To convert \uXXXX Unicode encoded file back to UTF-8, use a command similar to the following.

cd C:\j2sdk1.4.2\bin>
native2ascii.exe -reverse -encoding UTF8 Resources_cs.properties Resources_cs.properties.utf8.txt

State of translation

Currently, we have the following languages translated.

Already Translated Languages
Language Language Short If released Translator Reviewer Capitalized Titles
Czech Česky cs not released Radek Švarz Daniel Polansky No
Chinese trad.chinese zh released william chen    
Chinese simp.chinese zh_CN not released william chen    
Danish Dansk dk released
Dutch Nederlands nl released Koen Roggemans No
English English en released N/A Yes
Finnish Suomi fi not released Matti Lassila
French Francais fr released
German Deutsch de released Christian Foltin
Hungarian ? not released documan
Italian Italiano it released Bob Alexander
Japanese Nihongo ja released Kohichi Aoki
Korean Hangeul kr released(rc5) Kim Jong Woo
Polish Polski pl not released Rafal Kraik No
Portuguese Português pt not released Luis Ferreira
Brazilian Portuguese Português brasileiro pt_BR not released Rodrigo Rizzi Starr
Russian Pусский ru not released Prokudin Alexander
Slovenian sl released Martin Srebotnjak - filmsi No?
Spanish Espanol es released Hugo Gayosso Yes
Turkish Türkçe tr not released Uğur Çetin Yes

To activate a new translation, follow the following steps:

  • write or download the Resources_xx.properties file;
  • unpack the freemind.jar file with 7-Zip or similar into a temp folder;
  • replace or add the Resources_xx.properties with the new one;
  • repack the freemind.jar with the modified content of the temp folder.