TranslateMusE

From MusE Wiki

Jump to: navigation, search

You can help us to translate the MusE interface into your language. We currently have a English interface and basic German support. Note: This means that the interface will be translated not the official manual nor this weppage.

  • English [100%] - MusE native
  • Polish [90%++] - (almost everything is translated)
  • Russian [70%++] (looks pretty good, most important things are done)
  • French [70%++] (looks pretty good, most important things are done)
  • German [5%] (it's on the way!)
  • Swedish [50%++]
  • Italian [?%]

You find instruction in the source tar ball in the file called README.translate or here on this page. If your translation is finished send your translation to our mailing list.

Contents

Set your language

You can select a certain language using bash this way:

export LANG=fr

After this you can start MusE from this console and MusE's interface should be set to the language you selected. Hopefully we get better language support soon.

What is currently included:

fr  french
de German
ru russian
sv_SE swedish
it Italian [not included yet]
pl Polish

Internationalisation

If you want to contribute a translation the following hints may be of help to you:

Step 1

Enter the MusE directory and edit the file "muse.pro"

Append a new target file name at "TRANSLATIONS" e.g. change

 TRANSLATIONS = share/locale/muse_de.ts
     into
 TRANSLATIONS = share/locale/muse_de.ts \
              share/locale/muse_fr.ts

if you want to generate a french MusE version.

Step 2

Start the Qt-Program "lupdate"

lupdate muse.pro

Maybe "lupdate" is not in your PATH and you must specify the complete pathname "lupdate"

Example:
    /usr/qt3-2/bin/lupdate muse.pro

This generates the file "locale/muse_fr.ts".

Step 3

Edit "locale/muse_fr.ts" manually or use the Qt "linguist" tool:

linguist muse_fr.ts

You can find a manual for the linguist tool here:

http://doc.trolltech.com/3.1/linguist-manual.html
The Debian package is called qt3-linguist

Step 4

Save the edited file "muse_fr.ts" from linguist and start File->Release. This generates the file "locale/muse_fr.qm" or start the Qt program "lrelease"

lrelease muse.pro

This generates all *.qm files.

Step 5

Install the *.qm files: as superuser start "make install"

Step 6

Test: set the environment variable LANG to the desired Language:

export LANG=fr

Start MusE:

muse

Step 7

Send the file to us and we'll include it into the next release of MusE. Read on here: Muse_ml

Thanks for your support!

Personal tools