Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[832b36]: src / hugin1 / hugin / xrc / data / help_en_EN / Hugin_translation_guide.html Maximize Restore History

Download this file

Hugin_translation_guide.html    398 lines (373 with data), 29.7 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="MediaWiki 1.14.0" />
<meta name="keywords" content="Hugin translation guide,Hugin translation guide,Enblend,Enfuse" />
<title>Hugin translation guide - PanoTools.org Wiki</title>
<!--[if lt IE 5.5000]><![endif]-->
<!--[if IE 5.5000]><![endif]-->
<!--[if IE 6]><![endif]-->
<!--[if IE 7]><![endif]-->
<!--[if lt IE 7]>
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
<style media="screen" type="text/css" title="Screen style sheet"> @import url(manual.css); </style>
</head>
<body class="mediawiki ltr ns-0 ns-subject page-Hugin_translation_guide skin-monobook">
<div id="globalWrapper">
<div id="column-content">
<div id="content">
<a name="top" id="top"></a>
<h1 id="firstHeading" class="firstHeading">Hugin translation guide</h1>
<div id="bodyContent">
<!-- start content -->
<a name="Introduction" id="Introduction"></a><h2> <span class="mw-headline"> Introduction </span></h2>
<p>This page intends to provide guidance to translators of the Hugin project. Some terminology is very specific or used in a specific way in hugin, making it hard to find a close translation that fits the context of hugin in another language than English.
</p>
<a name="Getting_Started_on_translations" id="Getting_Started_on_translations"></a><h2> <span class="mw-headline"> Getting Started on translations </span></h2>
<ul><li>1. Get your language file
</li></ul>
<dl><dd>Each language version of hugin uses a different *.po file (just like "fr.po" for French or "ja.po" for Japanese) containing all the translated strings. The country codes use the ISO 639-1<a class="external" href="http://www.loc.gov/standards/iso639-2/php/code_list.php">[*]</a> naming convention.
</dd><dd>In general, you need the latest *.po file, usually the one for the language you want to modify. You can download it from the Mercurial repository<a class="external" href="http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/file/default/src/translations">[*]</a>: in this list of files navigate to your *.po file, click on the file name and then use the link "raw" in the navigation bar to save the file (right click or ctrl-click: Save Link as...) to your local hard disk.
</dd><dd>If there is yet no translation file for your language you can use the file hugin.pot and rename that using the above naming convention or just ask the developers list<a class="external" href="http://groups.google.com/group/hugin-ptx">[*]</a> for assistance.
</dd></dl>
<ul><li>2. Edit your *.po file
</li></ul>
<dl><dd>To edit the *.po or *.pot files, use poedit<a class="external" href="http://sourceforge.net/projects/poedit/">[*]</a> (it is a cross-platform PO files editor which runs on Mac OS X, Unix and Windows) or kbabel<a class="external" href="http://kbabel.kde.org/">[*]</a> (it runs on any KDE platform). Note that you don't have to translate everything if you don't have time or knowledge to do it all. Also <a href="Hugin_translation_guide.html#Do_not_translate:" title="Hugin translation guide">check below</a> for things that shouldn't be translated (like software names) or for some explanations on specific words.
</dd><dd>Note: When using a version of Poedit before 1.4.3, editing comments directly in the right pane doesn't work, the text isn't saved into the .po file. To edit comments, use the "edit comment" dialogue from the menu. With Poedit 1.4.3 and later, please note that to see the comment window you have to check "View / Show comment window", and to be able to modify the comment you must go to "File / Preferences..." and check "Comment window is editable" in the "Editor" tab.
</dd><dd>Messages marked as <b>fuzzy</b> are actually not used in the GUI, their English counterparts are used instead. This seems to be an automagic suggestion which naturally often fails, so compare a fuzzy translation with the original phrase.
</dd></dl>
<ul><li>3 Verify your translation
</li></ul>
<dl><dd>In order to test the new translation and to save some time for developers that will apply to trunk your file, it's recommanded to <a href="Hugin_translation_guide.html#How_to_check_the_translated_file_for_syntax_errors" class="external text" title="http://wiki.panotools.org/Hugin_translation_guide#How_to_check_the_translated_file_for_syntax_errors" rel="nofollow">check</a> your newly translated po file.
</dd></dl>
<ul><li>4. Submit your *.po file, or even better, commit your changes through Mercurial
<ul><li>You can submit your edited translation via hugin's tracker<a class="external" href="https://bugs.launchpad.net/hugin/">[*]</a> on launchpad (you'll need a launchpad account to log in). Add the tags "translation" and "hugin" and attach your file.
</li><li><b>An even better solution</b>, but which the first time takes you a few more minutes to set everything up, is to use Hugin's revision control system. For more information see <a href="Hugin_translation_guide.html#Become_a_Power_Translator" class="external text" title="http://wiki.panotools.org/Hugin_translation_guide#Become_a_Power_Translator" rel="nofollow">Become a Power Translator</a> below.
</li></ul>
</li></ul>
<a name="How_to_check_the_translated_file_for_syntax_errors" id="How_to_check_the_translated_file_for_syntax_errors"></a><h2> <span class="mw-headline"> How to check the translated file for syntax errors </span></h2>
<p>The best way to check if your newly translated XX.po file hasn't any error, is to run the following command in a terminal (if you are under linux)
</p>
<pre>msgfmt -c --statistics XX.po
</pre>
<p>(you will need to install the gettext package to use the msgfmt command)
</p><p>If you get as output the number of translated, unstranslated and fuzzy strings the file is ok. Else you get error messages indicating the line where the errors resides. Open the po file in a text editor, look for the line where the error lives and fix it. Finally run again the above command until you get no errors.
</p><p>Note: if you use Poedit, it gives you warning when the po file you are trying to save contains errors. In the error message read the line where the error is listed then close poedit and open the file in a text editor and look for errors in the specific line.
</p>
<a name="Common_mistakes" id="Common_mistakes"></a><h3> <span class="mw-headline"> Common mistakes </span></h3>
<ul><li> Remember that the first line in a po file need to be commented as shown here (note the # sign at the beggining of the line)
</li></ul>
<pre># French translations for hugin package.
# Copyright (C) 2004 Pablo dAngelo
# This file is distributed under the same license as the hugin package.
# Jean-Luc Coulon (f5ibh) &lt;jean-luc.coulon@wanadoo.fr&gt;, 2004-2009, 2010.
</pre>
<ul><li> Watch carefully for retaining placeholders:
</li></ul>
<dl><dd>If you take the following string:
</dd></dl>
<pre>Open "%s" file
</pre>
<dl><dd>the&nbsp;%s must remain the same in the translated string because it is a formatting placeholder where the code will display a variable (e.g. a filename, a number etc...) at run time. For example&nbsp;%s is a string and&nbsp;%0.3f is a number with three post-comma digits.
</dd></dl>
<p><br />
</p>
<ul><li> Watch out for the new line (\n) indicator at the end of the string. For example in the string:
</li></ul>
<pre>This is a test for a new line string\n
</pre>
<dl><dd>The \n symbol must remain at the end of the translated string
</dd></dl>
<ul><li> Watch out for quotation marks ". They must be quoted as \"
</li></ul>
<a name="Use_your_new_translation_file" id="Use_your_new_translation_file"></a><h2> <span class="mw-headline"> Use your new translation file </span></h2>
<p>poedit updates your PO file and creates a MO file for your language. You can rename your MO file into hugin.mo and replace the hugin.mo file from your current installation (don't forget to make a backup of the original MO file, just in case).
</p>
<ul><li>On <b>Windows</b> the MO file is in your hugin directory, in <tt>share\locale\<i>XX</i>\LC_MESSAGES\hugin.mo</tt>, where <i>XX</i> is your language.
</li><li>On <b>Linux</b> the MO file is under <tt>/usr/local/share/locale/XX/LC_MESSAGES/hugin.mo</tt>
</li><li>On <b>Mac OS X</b> the MO file is inside the hugin bundle: just click on Hugin.app and from the context menu choose "Show package contents", from there it's under <tt>Contents/Resources/<i>XX</i>.lproj/locale/hugin.mo</tt> (<tt><i>XX</i></tt> is your language code).
</li></ul>
<p>If you want to you can also rebuild hugin (doesn't have to be a heavy job when you only changed the .po file, the process only updates that part).
</p>
<a name="Contribute_your_Translation" id="Contribute_your_Translation"></a><h2> <span class="mw-headline"> Contribute your Translation </span></h2>
<p>The preferred way is for translations to be contributed via the tracker<a class="external" href="https://bugs.launchpad.net/hugin/">[*]</a>. If you don't want to use the tracker you can also post it as attachment to the mailing list, but the mailing list has a short memory and your hard work may be forgotten.
</p><p>To use the tracker, you need a <a href="Hugin_Trackers.html#Launchpad_Account" class="external text" title="http://wiki.panotools.org/Hugin_Trackers#Launchpad_Account" rel="nofollow">Launchpad Account</a>.
</p><p>You can submit our translation via the web or via email.
</p>
<a name="Web" id="Web"></a><h3> <span class="mw-headline"> Web </span></h3>
<ul><li> Log on with your Launchpad account.
</li><li> Start reporting a new ticket<a class="external" href="https://bugs.launchpad.net/hugin/+filebug">[*]</a>.
</li><li> Enter a title/summary (e.g. German Translation).
</li><li> Launchpad will look for duplicates. This is good for bug reports, but for updated translations you can ignore it, scroll down to the bottom of the page and hit the "No, I need to report a new bug".
</li><li> On the reporting form, enter a description in the "Further Information" field, then scroll to the bottom and hit the link "Extra options".
</li><li> There you will find an Attachment field. Hit it and browse to the .po.
</li><li> Click the "Submit Bug Report" button.
</li></ul>
<a name="eMail" id="eMail"></a><h3> <span class="mw-headline"> eMail </span></h3>
<p>Reporting a new ticket by email works too, but there are some critical conditions:
</p>
<ul><li> Your email account must be registered with Launchpad.
</li><li> You must have an OpenPGP key associated with it and known to Launchpad.
</li><li> You must craft your email carefully. A misplaced space or a typo can doom your report.
</li><li> To be safe, use TEXT email, not HTML -- a good habit anyway. In most email client you recognize the TEXT mode by the lack of a formatting toolbar).
</li></ul>
<p>The message:
</p>
<ul><li> From: your Launchpad-registered email address
</li><li> To: new@bugs.launchpad.net
</li><li> Subject: title of the bug
</li><li> Body: description + carefully crafted commands. Commands are usually at the end of the body. One per line. Each command line starts with a single space.
</li><li> Enter the command " affects hugin" to assign the report to Hugin.
</li><li> Enter the command " tag translation" to tag the report as being a translation.
</li><li> Attach the file(s) to the email.
</li><li> Send. It takes about five minutes to process and you get an email back with the result.
</li></ul>
<a name="Become_a_Power_Translator" id="Become_a_Power_Translator"></a><h2> <span class="mw-headline"> Become a Power Translator </span></h2>
<p>After adding your po file to Hugin's tracker<a class="external" href="https://bugs.launchpad.net/hugin/">[*]</a>, the developers still need to integrate it, which is not easy as it means dealing with conflicting version (but how should a developer know which one of two conflicting sentences in a foreign language is the right one?). Thus using the same Mercurial approach to translation reduces considerably the burden on the rest of the team and is very much appreciated. Translation is a development too!
</p><p>So <b>instead of adding your po file to the tracker</b>, you can integrate it yourself. You'll first need a <b>Sourceforge user account</b> (register here<a class="external" href="http://sourceforge.net/account/registration/">[*]</a> if you don't have one yet. Then tell the developers on the mailing list<a class="external" href="http://groups.google.com/group/hugin-ptx/">[*]</a> what your user account is, so that they can <b>grant you access to Mercurial</b>, the revision control system (you'll need this before following the next steps).
</p>
<a name="The_first_time" id="The_first_time"></a><h3> <span class="mw-headline"> The first time </span></h3>
<p><b>For Windows users</b>
</p><p><br />
</p>
<ul><li>1. Get and install TortoiseHg<a class="external" href="http://tortoisehg.bitbucket.org/">[*]</a>.
</li><li>2. In the explorer create a new folder, e.g. hugin-hg. Then do a right click on the created folder and select "Clone" in the "TortoiseHG" submenu. Select the repository http://hugin.hg.sourceforge.net:8000/hgroot/hugin/hugin<a class="external" href="http://hugin.hg.sourceforge.net:8000/hgroot/hugin/hugin">[*]</a> as source path and select "Clone".
</li><li>3. Now select "Repository Settings" in the "TortoiseHG" context menu of the folder. In the section "Synchronize" add a new setting with an alias/name e.g. "writeRepo" and the URL ssh://YOUR-SOURCEFORGE-USERNAME@hugin.hg.sourceforge.net/hgroot/hugin/hugin , close the settings dialog. (This needs to be done only once.)
</li><li>4. You can commit your (partial) results anytime: right-click on the folder and select in the context menu "Hg Commit..." - enter a short text describing what you did (e.g.: "updated French translation"), check that only your modified .po file is selected and click OK. Note that you can select only the "translation" folder instead of "hugin-trunk" if you modified only files within "translation".
</li><li>5. Open the folder context menu, open "TortoiseHG/Synchronize". Select your in step 2 created setting in the combobox and select "Push". (Or you can also push from the "Repository Explorer".)
</li></ul>
<p><b>For Linux/Unix/OSX</b>
</p>
<ul><li>1. Get and install Mercurial<a class="external" href="http://mercurial.selenic.com/">[*]</a>. (<pre>apt-get install mercurial</pre> on Ubuntu/Debian,<pre>yum install mercurial</pre> on Fedora, <pre>emerge mercurial</pre> on Gentoo)
</li><li>2. Get the full Hugin source code.
</li></ul>
<pre>
hg clone http://hugin.hg.sourceforge.net:8000/hgroot/hugin/hugin hugin
</pre>
<ul><li>3. Do your translation work inside the folder src/translations
</li><li>4. You can commit your (partial) results anytime by running the commands
</li></ul>
<pre>
hg pull
hg commit TRANSLATEDFILE.po -m &quot;updated LANGUAGE translation&quot;
hg push ssh://YOUR-SOURCEFORGE-USERNAME@hugin.hg.sourceforge.net/hgroot/hugin/hugin
</pre>
<p><b>Important:</b> committed changes are only on your local disk. You must push them to SourceForge to make them available to the project.
</p>
<a name="The_following_times" id="The_following_times"></a><h3> <span class="mw-headline"> The following times </span></h3>
<p>The next time you want to work on the translations, you'll have first to <b>retrieve the latest version of the files</b> (as someone else might have modified something in the meantime) before working on it and then commiting it again.
</p>
<dl><dt>For Windows users
</dt><dd>Simply right-click your "hugin" folder and select "Synchronize" in the "TortoiseHG" menu. In the dialog select "Update" in the combobox "After pull" (You can select in the settings under "Synchronize" that this is the default setting). Now select "Pull".
</dd></dl>
<dl><dt>For Linux/Unix/OSX
</dt><dd>change into the folder with the files and execute
</dd></dl>
<pre>
hg pull
hg up -c
</pre>
<p>and then you can continue from step 3 above.
</p>
<a name="Extra_perk_-_Build_the_latest_Hugin" id="Extra_perk_-_Build_the_latest_Hugin"></a><h3> <span class="mw-headline"> Extra perk - Build the latest Hugin </span></h3>
<dl><dd>If you're already here, you may want to also build and enjoy the latest Hugin. Some of the current contributors to the build, distribution and code of Hugin have learned this way. You are just a few clicks away from building your own bleeding edge Hugin. Find your platform in Build your Own Test Builds<a class="external" href="http://wiki.panotools.org/Development_of_Open_Source_tools#Build_your_Own_Test_Builds">[*]</a> section of the wiki and follow the instructions.
</dd><dd>Welcome to the club!
</dd></dl>
<a name="Translation_guide_for_specific_terms" id="Translation_guide_for_specific_terms"></a><h2> <span class="mw-headline"> Translation guide for specific terms </span></h2>
<p><b>Note to translators, please add your language variant to the term on a new line in the same format as NL=<br /> Also add your own difficult terms that are not mentioned here.</b>
</p><p><b>Note to developers, please check and enhance the meanings of these terms if they are unclear or incorrect.</b>
</p>
<dl><dt> Aligning versus Finding control points
</dt><dd> Problem= they appear to be similar or the same, can they be interchanged?
</dd></dl>
<dl><dt> Anchor
</dt><dd> Meaning=Reference
</dd><dd> NL=referentie (was anker)
</dd></dl>
<dl><dt> bundle
</dt><dd> Meaning=A technique for distributing OS X software as a single file.
</dd><dd> NL=bundle (bundel?)
</dd></dl>
<dl><dt> bundled version
</dt><dd> Meaning=? Any packaged software will contain multiple files, these files are said to be 'bundled' (not just OS X)
</dd><dd> NL=ingebouwde versie (gebundelde versie?)
</dd></dl>
<dl><dt> button
</dt><dd> DE=Schaltfl��che
</dd></dl>
<dl><dt> Camera response (C. r. curve)
</dt><dd> Meaning=it corresponds with photo-electrical transfer function, and I am not sure can I translate it to "opto-electic curve of camera" in my language, because stright tranlation of "camera response" statement sounds trivial and not clear.
</dd><dd> PL=krzywa optoelektryczna aparatu?
</dd></dl>
<dl><dt> control points
</dt><dd> Meaning=corresponding areas in two images (or the same image for horizontal and vertical control points)
</dd><dd> ET=juhtpunktid
</dd><dd> NL=ijkpunten (was controle punten), IJkpunten bij hoofdletters
</dd></dl>
<dl><dt> Crop factor
</dt><dd> Meaning=The physical size of a CCD sensor relative to a 35mm frame.
</dd></dl>
<dl><dt> Cropped (images)
</dt><dd> Meaning=image cut smaller than the original size
</dd><dd> Discussion=Should this be translated? Like Blend, this is jargon, may be clearer when untranslated?
</dd><dd> ET=k��rbitud (pildid)
</dd><dd> NL=uitgesneden (afbeeldingen)
</dd></dl>
<dl><dt> Custom parameters
</dt><dd> Meaning=parameters other than standard (+context???)
</dd><dd> NL=aangepaste parameters
</dd></dl>
<dl><dt> Estimate (position, FoV, etc.)
</dt><dd> Meaning=? in my book, estimate means an educated guess. I get the impression that a more exact term is intended for hugin. Where can this term be replaced with "calculate" or "determine"?
</dd><dd> ET=m����ratlema
</dd><dd> NL=bepalen (eng:determine), bereken (eng:calculate) alternative suggestion: Schatten (eng:estimate)
</dd></dl>
<dl><dt> Exposure blending (or Exposure fusion)
</dt><dd> Meaning=Taking a bracketed photo stack and picking the best bits to create a new image. Hugin tries to use the phrase 'Exposure fusion' rather than 'blending' as the tool for this is <a href="Enfuse.html" title="Enfuse">enfuse</a>.
</dd><dd> NL=Belichtings lagen samenvoegen (Note: enblend = samenvoegen; enfuse = belichtings lagen samenvoegen?)
</dd></dl>
<dl><dt> Field of View
</dt><dd> Meaning=Horizontal Angle of view
</dd><dd> ET=vaatev��li
</dd><dd> NL=beeldhoek
</dd></dl>
<dl><dt> flatfield
</dt><dd> Meaning=An astronomical technique, using a photo taken with the lens covered or of an even white surface to calibrate normal photos
</dd><dd> NL=flatfield (astrofoto jargon, ook in NL gebruikt)
</dd></dl>
<dl><dt> flatfile
</dt><dd> Meaning=?
</dd><dd> NL=?
</dd></dl>
<dl><dt> grayscale
</dt><dd> Meaning=monochrome colourspace. Typically grayscale images can have many shades of gray as well as black and white.
</dd><dd> ET=halltoonid
</dd><dd> NL=grijsschaal (kan beter!)
</dd></dl>
<dl><dt> High Dynamic Range (HDR)
</dt><dd> Meaning=Luminance values are within a large numeric range (typically floating point with a linear response)
</dd><dd> NL=Hoog Dynamisch Bereik (HDR)
</dd></dl>
<dl><dt> image
</dt><dd> Meaning=photo, scan, ....
</dd><dd> ET=pilt
</dd><dd> NL=afbeelding
</dd><dd> DE=Bild
</dd></dl>
<dl><dt> keypoint
</dt><dd> Meaning=
</dd><dd> DE=Merkmalspunkt (see Article about SIFT<a class="external" href="http://de.wikipedia.org/wiki/Scale-invariant_feature_transform">[*]</a> in the German Wikipedia)
</dd></dl>
<dl><dt> Low Dynamic Range (LDR)
</dt><dd> Meaning=Luminance values are within a small numeric range (typically 8-bit or 16bit integer with a non-linear response curve).
</dd><dd> NL=Laag Dynamisch Bereik (LDR)
</dd></dl>
<dl><dt> mapping
</dt><dd> Meaning=render and distort an image to a different projection?
</dd><dd> NL=translatie, afbeelding, vervorming, projectie?
</dd></dl>
<dl><dt> Num. Transf.
</dt><dd> Meaning=Numerical Transform. Rotation of panorama roll, pitch and yaw by manually entering numbers.
</dd><dd> NL=Num. Transf.
</dd></dl>
<dl><dt> Photometric Alignment
</dt><dd> Meaning=Determining relative exposure, camera response and vignetting
</dd><dd> ET=fotomeetriline joondamine
</dd><dd> NL=fotometrische uitlijning (beter?: fotometrische afstemming)
</dd></dl>
<dl><dt> Photometric Optimisation
</dt><dd> Meaning=Optimisation of non-mapping image parameters, such as 'Camera response', Vignetting and Exposure.
</dd><dd> ET=fotomeetriline optimeerimine
</dd><dd> NL=fotometrische optimalisatie
</dd></dl>
<dl><dt> pyramid image
</dt><dd> Meaning=This is the practice of creating a stack of successively smaller versions of an image, useful for many image manipulation tasks.
</dd><dd> NL=piramidale afbeelding
</dd></dl>
<dl><dt> Seam blending
</dt><dd> Meaning=Taking two or more partially overlapping photos and blending then with a seam down the middle of the overlap. The tool typically used for this is <a href="Enblend.html" title="Enblend">enblend</a>
</dd></dl>
<dl><dt> Stitcher (the tab)
</dt><dd> Meaning= Where the actual combining of the images is done
</dd><dd> ET=��hendaja
</dd><dd> NL=Samenvoegen (alt: Combineren, Naaien?)
</dd></dl>
<dl><dt> Vertical or Horizontal guide
</dt><dd> Meaning=Horizontal or Vertical "control points"
</dd><dd> NL=h/v hulp (suggestie: ijklijnen)?
</dd></dl>
<a name="Do_not_translate:" id="Do_not_translate:"></a><h3> <span class="mw-headline"> Do not translate: </span></h3>
<ul><li> Autopano (program name)
</li><li> Autopano-SIFT (program name)
</li><li> Deflate (zip method)
</li><li> Enblend (program name)
</li><li> EXR (HDR file type)
</li><li> JPEG (file type)
</li><li> LZW (zip method)
</li><li> Nona (program name)
</li><li> Packbits (zip method)
</li><li> PTStitcher (program name)
</li></ul>
<a name="Technical_translation_issues" id="Technical_translation_issues"></a><h2> <span class="mw-headline"> Technical translation issues </span></h2>
<p>Some strings don't appear to be translated, they are apparently generated by the GUI toolkit or the operating system. Most likely they will be in the same language as hugin, because very few people, other than translators, start a program with a specific language other than that of the environment.
</p><p>The file <tt>src/translations/ignored-entries.txt</tt> contains a list of ignored entries from the xrc files (which are used to declare most of the hugin UI). If you need to translate a sentence which is there, remove the line from the file and run the extract-messages.sh script to update the .po files.
</p><p>If you find a source term that isn't correct, spelling or meaning, probably best to bring it up with Pablo d'Angelo or on the hugin mailinglist: [1]<a class="external" href="http://groups.google.com/group/hugin-ptx">[*]</a>
</p>
<a name="List_of_source_string_problems" id="List_of_source_string_problems"></a><h3> <span class="mw-headline"> List of source string problems </span></h3>
<ul><li> calculate highest sensible width. (uses every image pixel)
</li></ul>
<dl><dd> I can translate this literally, but is this even helpful in English? (this is a tooltip for the size calc button in the Stitcher tab)
</dd></dl>
<p><br />
</p>
<a name="Tips_and_Tricks" id="Tips_and_Tricks"></a><h2> <span class="mw-headline"> Tips and Tricks </span></h2>
<a name="Running_hugin_in_a_specific_language" id="Running_hugin_in_a_specific_language"></a><h3> <span class="mw-headline"> Running hugin in a specific language </span></h3>
<p>If you want to run hugin in another language than the default, use the following command (Linux with UTF8):
</p>
<pre>$ LANG=nl_NL.utf8 hugin
</pre>
<p>This will start hugin in dutch. Other languages have different names of course, try looking in <tt>/usr/share/i18n/locales/</tt>.
</p>
<a name="Developer_info" id="Developer_info"></a><h2> <span class="mw-headline"> Developer info </span></h2>
<a name="Adding_new_strings" id="Adding_new_strings"></a><h3> <span class="mw-headline"> Adding new strings </span></h3>
<p>After adding new strings, translators need to find them in the .pot and .po files otherwise they won't get translated.
</p><p>Hugin has a script to extract the messages from both the .xrc files and the .cpp source code and insert them into the hugin.pot and .po files. New strings are added and unused strings are marked as obsolete.
</p><p>Before running the script, make sure you have wxrc installed. On older Ubuntu, run <code>sudo apt-get install wxrc</code>. On Ubuntu 10.4 it is <code>sudo apt-get install wx-common</code>.
</p><p>Then, add the new strings:
</p>
<pre>
hg pull
hg up
cd src/translations
./extract-messages.sh
hg ci
hg push ssh://YOUR-SOURCEFORGE-USERNAME@hugin.hg.sourceforge.net/hgroot/hugin/hugin
</pre>
<a name="Applying_a_contributed_.po_file" id="Applying_a_contributed_.po_file"></a><h3> <span class="mw-headline"> Applying a contributed .po file </span></h3>
<p>You could just overwrite the original and commit, but this assumes the file is correctly formatted and hasn't lost any strings. Better to use <b>msgmerge</b> to merge the contributed .po file with the existing. Hugin has a script to test what will happen. Use <b>msgfmt</b> for a quick sanity check too:
</p>
<pre> src/translations/diff_po.pl src/translations/zh_CN.po /tmp/zh_CN.contributed.po
msgmerge -o zh_CN.merged.po /tmp/zh_CN.contributed.po src/translations/zh_CN.po
msgfmt -c --statistics zh_CN.merged.po
msgfmt -c --statistics src/translations/zh_CN.po
mv zh_CN.merged.po src/translations/zh_CN.po
hg ci zh_CN.po -m 'Edited chinese translation'
hg push ssh://YOUR-SOURCEFORGE-USERNAME@hugin.hg.sourceforge.net/hgroot/hugin/hugin
</pre>
<a name="Statistics" id="Statistics"></a><h3> <span class="mw-headline"> Statistics </span></h3>
<p>msgfmt --statistics eo_XX.po
</p>
<a name="Issues_That_Need_Work" id="Issues_That_Need_Work"></a><h3> <span class="mw-headline"> Issues That Need Work </span></h3>
<ul><li> There are more than 1000 strings in the hugin.pot file. The main translation problem we have now is that many of these strings are in the sourcecode, but not in bits that are used - i.e. there are strings that are being translated unnecessarily (the panodruid for example).
</li><li> The .po files headers are inconsistent. Ideally they would all feature the same license and copyright notice; and they would list all contributors.
</li></ul>
<a name="Website_.2F_Release_Notes" id="Website_.2F_Release_Notes"></a><h2> <span class="mw-headline"> Website / Release Notes </span></h2>
<p>Some translators contribute also translated release notes. These are published on the web at http://hugin.sourceforge.net/releases/<a class="external" href="http://hugin.sourceforge.net/releases/">[*]</a> . Usually the release manager will draft the release notes in English early on in the release process. Even if they are not linked, you can find them in the repository at http://hugin.hg.sourceforge.net/hgweb/hugin/hugin-web/file/tip/releases<a class="external" href="http://hugin.hg.sourceforge.net/hgweb/hugin/hugin-web/file/tip/releases">[*]</a>
</p><p><b>Important</b>: make sure you translate the file from the repository and not the resulting file displayed on the web, e.g. translate
http://hugin.hg.sourceforge.net/hgweb/hugin/hugin-web/file/e9990e702c7c/releases/2010.4.0/en.shtml<a class="external" href="http://hugin.hg.sourceforge.net/hgweb/hugin/hugin-web/file/e9990e702c7c/releases/2010.4.0/en.shtml">[*]</a> and not http://hugin.sourceforge.net/releases/2010.4.0/en.shtml<a class="external" href="http://hugin.sourceforge.net/releases/2010.4.0/en.shtml">[*]</a> - the former is the source for the page while the latter is the resulting page after server side includes and other server side transformations.
</p>
<div class="printfooter">
Retrieved from "<a href="Hugin_translation_guide.html">http://wiki.panotools.org/Hugin_translation_guide</a>"</div>
</div></div></div></div></body></html>