Translation: Difference between revisions

From FreeMind
Jump to navigationJump to search
Line 19: Line 19:


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].  
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].
If such a translation is not present, take [http://freemind.cvs.sourceforge.net/freemind/freemind/Resources_en.properties?view=log the latest revision of Resources_en.properties].


==Choosing the editing tool==
==Choosing the editing tool==

Revision as of 10:34, 2 June 2007

 

How to contribute translations to FreeMind follows.

Step-by-step overview

  1. Choose the editing tool if getting started.
  2. Get the latest English translation.
  3. Get the latest translation for your language.
  4. Find and complete what is missing.
  5. Convert to Java Unicode notation if needed.
  6. Post to Translations tracker.

Getting the latest translations

Look for a translation into your language present in the development branch. If such a translation is not present, take the latest revision of Resources_en.properties.

Choosing the editing tool

Translation files can be edited using variety of tools.

Popeye

Popeye Screenshot | Download 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.

After a short test, I can recommend Popeye. No installation needed, works fine, looks good, and has a nice web.--Danielpolansky 03:26, 2 Jun 2007 (PDT)

Propedit

PropeditScreenshot can directly edit property files written in Unicode reference characters, thereby saving the time and effort of converting into Unicode through native2ascii. Its plugin is integrated with Eclipse and JBuilder. Files can be opened in the IDE and saved in Unicode. See also Propedit project page.

Plain text editor

You can save your property file in UTF-8 encoding; this is possible e.g. using Microsoft Notepad. In that case, conversion as described in the following section is needed. Translate the labels in the text at the right side from '=' character to your language.

Converting between Unicode notations

To convert a file in UTF-8 into \uXXXX Unicode escape notation, you may use 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.).

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

Posting translations

Send your translation to Translations tracker.

Using new translation in FreeMind

  1. Write or download the Resources_xx.properties file.
  2. Unpack the freemind.jar file with 7-Zip or similar into a temp folder.
  3. Replace or add the Resources_xx.properties with the new one.
  4. Repack the freemind.jar with the modified content of the temp folder.

State of translation

Currently, we have the following languages translated. The table below is out of date. It would be nice if the translators would update it. Up-to-date information of the state of translation can in any case be found in CVS and in Translations tracker.

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