Translation: Difference between revisions
Dan Polansky (talk | contribs) (→State of translation: not really an ISO code, I think; "zh_TW" is a pair of codes) |
Dan Polansky (talk | contribs) (→State of translation: +more translations based on CVS; more SF users) |
||
Line 127: | Line 127: | ||
|+ Already Translated Languages | |+ Already Translated Languages | ||
! | Language || Language || Code || CVS || Translator || Last version patch || Last up-to-date version || Capitalized titles || Translated help map | ! | Language || Language || Code || CVS || Translator || Last version patch || Last up-to-date version || Capitalized titles || Translated help map | ||
|- | |||
| Arabic || || ar || {{Translation CVS|ar}} || {{SF user|nasser_almesad|Nasser Almesad}} | |||
|- | |- | ||
| Basque || Euskara || eu || {{Translation CVS|eu}} || {{SF user|azkentximinoa|Mikel Iturbe Urretxa}} || || 0.9.0 || No || No | | Basque || Euskara || eu || {{Translation CVS|eu}} || {{SF user|azkentximinoa|Mikel Iturbe Urretxa}} || || 0.9.0 || No || No | ||
|- | |||
| Catalan || || ca || {{Translation CVS|ca}} || {{SF user|albertalcaine|Albert Alcaine}} || || || || | |||
|- | |||
| Croatian || || hr || {{Translation CVS|hr}} || || || || || | |||
|- | |- | ||
| Czech || Česky || cs || {{Translation CVS|cs}} || {{SF user|allitaice|Radek Švarz}} || || || No | | Czech || Česky || cs || {{Translation CVS|cs}} || {{SF user|allitaice|Radek Švarz}} || || || No | ||
Line 150: | Line 156: | ||
|- | |- | ||
| French || Francais || fr || {{Translation CVS|fr}} || {{SF user|sgamel|Sylvain Gamel}}, {{SF user|ewl|Eric Lavarde}}, {{SF user|srombauts|Sebastien Rombauts}}, Daniel Berthereau || || 0.8.1? || || Yes | | French || Francais || fr || {{Translation CVS|fr}} || {{SF user|sgamel|Sylvain Gamel}}, {{SF user|ewl|Eric Lavarde}}, {{SF user|srombauts|Sebastien Rombauts}}, Daniel Berthereau || || 0.8.1? || || Yes | ||
|- | |||
| Galician || || gl || {{Translation CVS|gl}} || || || || || | |||
|- | |- | ||
| German || Deutsch || de || {{Translation CVS|de}} || {{SF user|christianfoltin|Christian Foltin}} || || 0.8.1? || || Yes | | German || Deutsch || de || {{Translation CVS|de}} || {{SF user|christianfoltin|Christian Foltin}} || || 0.8.1? || || Yes | ||
Line 157: | Line 165: | ||
| Hungarian || || hu || {{Translation CVS|hu}} || {{SF user|documan}} || || || || | | Hungarian || || hu || {{Translation CVS|hu}} || {{SF user|documan}} || || || || | ||
|- | |- | ||
| | | Indonesian || || id || {{Translation CVS|id}} || {{SF user|permataharahap|Perry Harahap}} || || || || | ||
|- | |- | ||
| Japanese || Nihongo || ja || {{Translation CVS|ja}} || Kohichi Aoki, {{SF user|tomophy|Tomohiro Sembongi}} || || 0.8.1? / 0.9.0 || | | Italian || Italiano || it || {{Translation CVS|it}} || {{SF user|bobalex|Bob Alexander}}, {{SF user|valtermura|Valter Mura}} || || 0.8.1? || | ||
|- | |||
| Japanese || Nihongo || ja || {{Translation CVS|ja}} || {{SF user|drikin|Kohichi Aoki}}, {{SF user|tomophy|Tomohiro Sembongi}} || || 0.8.1? / 0.9.0 || | |||
|- | |- | ||
| Korean || Hangeul || ko || {{Translation CVS|ko}} || {{SF user|goliathz|Kim Jong Woo}}, {{SF user|lyg73|Yang gyu, Lee}} || || 0.8.1? || || | | Korean || Hangeul || ko || {{Translation CVS|ko}} || {{SF user|goliathz|Kim Jong Woo}}, {{SF user|lyg73|Yang gyu, Lee}} || || 0.8.1? || || | ||
|- | |||
| Lithuanian || || lt || {{Translation CVS|lt}} || {{SF user|oxiris}} || || || || | |||
|- | |||
| Norwegian Bokmål || || nb || {{Translation CVS|nb}} || {{SF user|larslem}} || || || || | |||
|- | |||
| Norwegian Nynorsk || || nn || {{Translation CVS|nn}} || {{SF user|yjlandro|Y J Landro}} || || || || | |||
|- | |- | ||
| Polish || Polski || pl || {{Translation CVS|pl}} || Rafal Kraik, {{SF user|kfoltman}} || || || No | | Polish || Polski || pl || {{Translation CVS|pl}} || Rafal Kraik, {{SF user|kfoltman}} || || || No | ||
Line 172: | Line 188: | ||
|- | |- | ||
| Russian || Pусский || ru || {{Translation CVS|ru}} || {{SF user|dpolivaev|Dimitry Polivaev}}, {{SF user|sergeykotkin|Sergey Kotkin}} || || 0.9.0 || || Yes | | Russian || Pусский || ru || {{Translation CVS|ru}} || {{SF user|dpolivaev|Dimitry Polivaev}}, {{SF user|sergeykotkin|Sergey Kotkin}} || || 0.9.0 || || Yes | ||
|- | |||
| Slovak || Slovenský || sk || {{Translation CVS|sk}} || {{SF user|viliambur|Viliam Bur}} || || || || | |||
|- | |- | ||
| Slovenian || || sl || {{Translation CVS|sl}} || {{SF user|filmsi|Martin Srebotnjak}} || || 0.8.1? || || No? | | Slovenian || || sl || {{Translation CVS|sl}} || {{SF user|filmsi|Martin Srebotnjak}} || || 0.8.1? || || No? | ||
|- | |- | ||
| Spanish || Espanol || es || {{Translation CVS|es}} || Hugo Gayosso, {{SF user|sergist|Sergio González}} || || 0.8.1? || Yes || Yes | | Spanish || Espanol || es || {{Translation CVS|es}} || {{SF user|hgayosso|Hugo Gayosso}}, {{SF user|sergist|Sergio González}} || || 0.8.1? || Yes || Yes | ||
|- | |- | ||
| Swedish || Svenska || se || {{Translation CVS|se}} || {{SF user|andber|Anders B.}}, {{SF user|gustavsson|Hans Gustavsson}} || || 0.9.0 || No? || | | Swedish || Svenska || se || {{Translation CVS|se}} || {{SF user|andber|Anders B.}}, {{SF user|gustavsson|Hans Gustavsson}} || || 0.9.0 || No? || | ||
|- | |- | ||
| Turkish || Türkçe || tr || {{Translation CVS|tr}} || {{SF user|jnmbk|Uğur Çetin}} || || || || Yes | | Turkish || Türkçe || tr || {{Translation CVS|tr}} || {{SF user|jnmbk|Uğur Çetin}} || || || || Yes | ||
|- | |||
| Ukrainian || || uk_UA || {{Translation CVS|uk_UA}} || {{SF user|dubyk|Serhij Dubyk}} || || || || | |||
|- | |||
| Vietnamese || || vi || {{Translation CVS|vi}} || {{SF user|dinhtrung|Nguyen Dinh Trung}} || || || || | |||
|} | |} | ||
Line 185: | Line 207: | ||
* ''Last version patch:'' enter a link to the latest existing patch with the FreeMind version it concerns as text. | * ''Last version patch:'' enter a link to the latest existing patch with the FreeMind version it concerns as text. | ||
* ''Last up-to-date version:'' enter the newest released version of FreeMind with up-to-date translation; consider beta versions as well. | * ''Last up-to-date version:'' enter the newest released version of FreeMind with up-to-date translation; consider beta versions as well. | ||
The ISO 639-1 language codes can be found in [http://en.wiktionary.org/wiki/Appendix:ISO_639-1_language_codes Wiktionary]. | |||
==Translating the documentation== | ==Translating the documentation== |
Revision as of 11:57, 14 July 2010
How to contribute translations to FreeMind follows. Step-by-step overview
Getting a SourceForge userTo get a SourceForge user, visit creation page, unless you already have a user. (You need a SourceForge user to post your translation to Translations tracker, as described below.) Getting the latest translationsLook 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 toolTranslation files can be edited using variety of tools. PopeyePopeye 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.
PropeditPropeditScreenshot 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 editorA plain text editor is the tool of choice if you are well acquainted with them and prefer them. If so, you already probably have your favorite tool. If not, these tools include Microsoft Notepad, Notepad++, Vim, Emacs and a vast variety of other tools. Using plain text editor is more tricky in that the language translation files are using Java unicode notatiton, encoding a single non-latin character like \u4567, making the file less readable. A workaround is to convert the language file into UTF-8 encoding first, then edit it, and finally convert to Java notation again. The conversion is described in the following section. Once the text is in UTF-8 encoding, tools like Microsoft Notepad can be used, and the non-latin characters are shown as you would see them in a WYSIWYG editor. However, various plain text editors differ in their capability to show UTF-8 characters. Notepad on Windows XP is definitely able to do that. Converting between Unicode notationsTo 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
Translate with PO tools: Virtaal and prop2poYou can also use a traditional PO translation tool such as Virtaal if you convert the properties file to PO format. To convert from properties to PO, you will need the prop2po command from the Translate Toolkit. Assuming your language code is xx, use the following command for the conversion:
Now open Resources_xx.properties.po in Virtaal. Set your target language in Virtaal: this ensures that various features like spell checking, translation memory and terminology will be set correctly. Before you submit or test your translation, you will need to convert it back to Java properties format as follows:
This will convert your PO file into a Java properties file using the English properties file as a template. All Java escaping of Unicode will happen automatically. Submit your properties file as usual. Setting mnemonicsFor menu items, you can set mnemonics by putting "&" character before the letter of the mnemonic in the title of the menu item. For instance, "&Edit" means that the title of the menu will read "Edit" and its mnemonic will be "e". Mnemonic is a keyboard shortcut accessible in various ways; in Windows, either by pressing Alt + mnemonic, or by pressing F10, followed by the mnemonic. Mnemonics are there not only for the leading menus, but also for submenus and menu items. Posting translationsSend your translation to Translations tracker. To be able to do it, you need a SourceForge user, which can be created at Account Registration page at SourceForge. Registering yourself as FreeMind translatorIf you are seriously planning to become a FreeMind translator, and want to receive Call for translations emails from us, please register yourself as translator by subscribing to freemind-translator mailing list. To subscribe, follow this link, and fill in the form. When to translateWe send a call for translation email after publishing the first release candidate of FreeMind, as at that point we can make sure that only few or possibly none new texts to translate will be added. A translator can still start creating and posting translations at any point of time, so he or she can distribute the workload in time. Using new translation in FreeMind
Menu label checklist
State of translationCurrently, we have the following languages translated. The table below is out of date, mapping roughly the state at 0.8.1. It would be very helpful 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.
Columns:
The ISO 639-1 language codes can be found in Wiktionary. Translating the documentationThe freemind.mm file, which is documentation in mindmap format, is a simple XML file. It can be found in your FreeMind installation (eg in Microsoft Windows XP, you'll find it in C:\Program Files\FreeMind\doc). Open the file in a Unicode enabled text editor, and then simply translate everything in the TEXT attribute. For example: <node COLOR="#000000" CREATED="1124560950701" MODIFIED="1124560950701" TEXT="You can install the applet at your website so that other users can browse your mind maps."> Using SwordfishIf you want to use translation memory or a CAT tool, you can now use Swordfish to translate MM files. Swordfish is not free software. First, create a file named config_map.xml and put the following code in it: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ini-file PUBLIC "-//Maxprograms//Converters 2.0.0//EN" "configuration.dtd" > <ini-file><tag attributes="TEXT" hard-break="segment" keep-format="yes">node</tag></ini-file> Then copy this file into the /ini folder of your Swordfish installation (there may be a file by that name already; if so, rename it temporarily). Run Swordfish and go File -> Convert file to XLIFF format. Remember to select the file type as "XML (Generic)" and the encoding as "UTF8". If you select "Embed skeleton", you may be able to recreate the MM file with a third-party XLIFF editor.
FeedbackDo you find this page difficult to understand? Are you missing some key information? Tell us. |