summaryrefslogtreecommitdiff
path: root/muse_qt4_evolution/doc/README.translate
blob: b2189929157da14008e496e23cb4465124844a07 (plain)
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
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/lib/qt42/bin/lupdate muse.pro

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

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

            cd share/locale; linguist muse_fr.ts

Step 4:
      start the Qt program "lrelease"

            lrelease muse.pro

      This generates all *.qm files in share/locale

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


Step 6:
      Test:
            set the environment variable LANG to the desired
            Language:
                  export LC_ALL=fr

            Start MusE:
                  muse