diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
commit | e40fc849149dd97c248866a4a1d026dda5e57b62 (patch) | |
tree | b12b358f3b3a0608001d30403358f8443118ec5f /attic/muse2-oom/muse2/README.translate | |
parent | 1bd4f2e8d9745cabb667b043171cad22c8577768 (diff) |
clean3
Diffstat (limited to 'attic/muse2-oom/muse2/README.translate')
-rw-r--r-- | attic/muse2-oom/muse2/README.translate | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/attic/muse2-oom/muse2/README.translate b/attic/muse2-oom/muse2/README.translate new file mode 100644 index 00000000..f4741a4d --- /dev/null +++ b/attic/muse2-oom/muse2/README.translate @@ -0,0 +1,62 @@ +Internationalisation + +If you want to contribute a translation the following hints +may be of help to you: + +Step 1: + If you want to update an existing translation, skip to step 2. + + If you want to do a new translation, start with creating an + empty translation file: + + touch share/locale/muse_fr.ts + +Step 2: + If you want to update an existing translation and you downloaded + a stable release (not a snapshot) of MusE, skip to step 3. + + Populate your .ts file with the newest strings + + mkdir build + cd build + cmake -DUPDATE_TRANSLATIONS=ON .. + make translations + cmake -DUPDATE_TRANSLATIONS=OFF .. + cd .. + + Your file share/locale/muse_fr.ts is now ready for translation. It + is recommended that you copy this file to some other place and + and work on the copy. + +Step 3: + Edit "muse_fr.ts" manually or use the Qt "linguist" tool: + + linguist muse_fr.ts + +Step 4: + Save the edited file "muse_fr.ts" from linguist and + start File->Release. This generates the file "muse_fr.qm". + Copy this file into your muse installation folder, + <prefix>/share/muse-2.0/locale/ + + or + + Copy your edited "muse_fr.ts" into share/locale in the source tree + and rebuild/install muse + + cd build + cmake -DUPDATE_TRANSLATIONS=OFF .. + make + sudo make install + +Step 5: + Test: + If your system locale is set to the same language as your + translation, simply start MusE: + + muse2 + + Otherwise, start MusE with the desired locale using the -l flag + + muse2 -l fr + |