From 26845ef85eef8712db67d42c9a4fdc618ffc428d Mon Sep 17 00:00:00 2001 From: Alexander Mueller Date: Wed, 14 Oct 2009 07:20:01 +0000 Subject: [PATCH] Translation process is simpler now, updated documentation for this. git-svn-id: http://rapidsvn.tigris.org/svn/rapidsvn/trunk@8051 65390229-12b7-0310-b90b-f21a5aa7ec8e --- TRANSLATIONS | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/TRANSLATIONS b/TRANSLATIONS index 5b1ad99e..3ea2f277 100644 --- a/TRANSLATIONS +++ b/TRANSLATIONS @@ -32,28 +32,17 @@ release. The following steps have to be performed for updating the translation: -1. Recreate the template file +1. Recreate the template file and merge the old translations and the new strings To extract all the strings in the cpp source code files (only strings that should be translated are marked by _("my string")), open a shell and chdir to "src/locale"; now run: + + ./update.sh - ../../tools/update-pot.sh - -2. Merge the old translations and the new strings - - This step has to be performed for every language. - - Change to "src/locale/" and merge the - information: - - ../../../tools/update-po.sh - - - -3. Update the translations +2. Update the translations This step has to be performed for every language. @@ -63,15 +52,15 @@ translation: poedit rapidsvn.po -4. Compile the translations +3. Compile the translations Change to the directory "src/locale" and compile the translations: - ../../tools/compile-po.sh + ./fmt.sh -5. Check the result in RapidSVN +4. Check the result in RapidSVN Change to "src".