#!/bin/bash


# Howto make a translation to your own language:

# Change these to your countrycode and charcode
COUNTRYCODE="sv"
CHARCODE="iso-8859-1"

# Run this first to make the initial template to be translated then 
# comment out this command.
   xgettext --no-location -k_:1 -kN_:1 -o gproftpd.pot ../src/*.c

# Copy gproftpd.pot as yourlang.po in the current directory.

# General information:
# I translated "online" as "activate" for the button and "activated" for the server status.
# Try to make the translated lines as long as the english lines 
# (on some places it might otherwise expand the application).

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



# When its translated you should run this command on it (make a backup first).

   #iconv -f UTF-8 -t $CHARCODE $COUNTRYCODE.po -o langconv.po && mv langconv.po $COUNTRYCODE.po


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

# Install it and check the result.
