File: translation_howto.sh

package info (click to toggle)
gadmin-openvpn-client 0.1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 1,508 kB
  • ctags: 443
  • sloc: ansic: 4,532; sh: 3,215; makefile: 112
file content (31 lines) | stat: -rwxr-xr-x 1,009 bytes parent folder | download | duplicates (2)
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 gadmin-openvpn-client.pot ../src/*.c

# Copy the resulting gadmin-openvpn-client.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 in the header).

# 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.