File: README.translate

package info (click to toggle)
muse 0.8.1a-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,128 kB
  • ctags: 8,595
  • sloc: cpp: 68,637; sh: 8,640; ansic: 1,457; makefile: 854; python: 579
file content (62 lines) | stat: -rw-r--r-- 1,379 bytes parent folder | download | duplicates (4)
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
58
59
60
61
62
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

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