File: translation_howto.sh

package info (click to toggle)
gsambad 0.1.4-2etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 5,228 kB
  • ctags: 644
  • sloc: ansic: 9,448; sh: 3,637; makefile: 218
file content (31 lines) | stat: -rwxr-xr-x 973 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
#!/bin/bash


# Howto translate the program to your own language:

# Run this command first to make the initial template.
  xgettext --no-location -k_:1 -kN_:1 -o gbindadmin.pot ../src/*.c

# Copy the resulting gbindadmin.pot as yourlang.po in the current directory.

# General information:
# Try to make the translated lines about as long as the english lines 
# (on some places it might otherwise expand the application too much).

# You dont have to translate all the country names from the credits dialog
# if you dont want to.

# Now translate yourlang.po in utf-8 with gedit or so and
# set it to the correct language, charcode and email in the .po file.
# (All the upper case names should be changed).

# If you have written the translation in gedit (utf8) .. then use
# CHARCODE=utf-8


# Now add your language to ALL_LINGUAS="sv en dk" in configure.in then
# run autoconf.

# Install it and check the result.

# If the result looks good then send me the .po file.