File freeciv-manual of Package freeciv

#!/bin/sh

tmplang="$LANG"
test "$LC_MESSAGES" != "" && tmplang="$LC_MESSAGES"
test "$LC_ALL"      != "" && tmplang="$LC_ALL"
test "$LANGUAGE"    != "" && tmplang="$LANGUAGE"

lang=`echo $tmplang|cut -d "_" -f 1`

if [ "$lang" == "de" ]; then
  DOCFILE="http://de.freeciv.wikia.com/wiki/Spielanleitung"
else
  DOCFILE="http://freeciv.wikia.com/wiki/Game_Manual"
fi

call-browser $DOCFILE