From ede6d28917603bf40e05963acee8729b4f36b183 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 3 Sep 2009 11:00:31 +0000 Subject: add explanations for gtranslator and %s etc git-svn-id: svn://tug.org/texlive/trunk@15024 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/etc/howto-translations.txt | 37 ++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/Master/tlpkg/etc/howto-translations.txt b/Master/tlpkg/etc/howto-translations.txt index 6712f9ea501..bb6688c09d0 100644 --- a/Master/tlpkg/etc/howto-translations.txt +++ b/Master/tlpkg/etc/howto-translations.txt @@ -10,7 +10,28 @@ BIG FAT NOTE: Before starting please always fetch the latest NN.po from our svn server because we merge new strings into .po files in regular intervals. +Here are explanations for gtranslator and poedit. I (np) prefer now +gtranslator because it keeps the strings where no changes have been +made in the format as they were, so there will be less commits and +smaller commits. + +using gtranslator (gtranslator.sf.net): +--------------------------------------- + +Starting a new translation NN.po: +- copy messages.pot to NN.po +- open it with gtranslator +- select from the menu: Edit -> Header + and change the items under "Translator and Language", especially + change CHARSET to utf8 +- start translating + +The first column gives the status, you can sort by clicking on the head +of it + + using poedit (poedit.sf.net): +----------------------------- Starting new translation NN.po: - start fresh poedit @@ -38,13 +59,17 @@ Editing an existing NN.po: - start translating -Translating and remarks: -- click on the bold strings, those are missing the translation +---------------------------------------------- + +General remarks concerning translations: +---------------------------------------- + - please use \" instead of ", as can be seen in the original strings - several lines in the translations are merged together *without* adding anything. So if you want new lines please use \n in the text (as seen in several original strings) - +- if %s (one or more) are occurring then they are replaced in the + final strings with the respective infos. Please keep them. We do update the messages.pot daily (nightly) and merge the strings into all the .po files (using msgmerge). That means if we change one of the @@ -55,6 +80,8 @@ In poedit those fuzzy translations are shown in red, telling you that those have had a change in the original string and the translation should be checked. +In gtranslator the first column shows a warning sign if the message is fuzzy. + So before any of you start out with editing a translation, please fetch the latest messages.pot and NN.po @@ -81,3 +108,7 @@ Merging/updating of the .po files msgmerge --update de.po messages.pot +Statistics: + pocount .../Master/tlpkg/translations/*.po + + -- cgit v1.2.3