#!/bin/sh
#
# returns month according to language

language=$1

month="`date '+%m'`"

if [ "$language" = "german" -o "$language" = "deutsch" ]
then
  if   [ "$month" = "01" ]; then month="Januar"
  elif [ "$month" = "02" ]; then month="Februar"
  elif [ "$month" = "03" ]; then month="Mrz"
  elif [ "$month" = "04" ]; then month="April"
  elif [ "$month" = "05" ]; then month="Mai"
  elif [ "$month" = "06" ]; then month="Juni"
  elif [ "$month" = "07" ]; then month="Juli"
  elif [ "$month" = "08" ]; then month="August"
  elif [ "$month" = "09" ]; then month="September"
  elif [ "$month" = "10" ]; then month="Oktober"
  elif [ "$month" = "11" ]; then month="November"
  elif [ "$month" = "12" ]; then month="Dezember"
  fi
else
  if   [ "$month" = "01" ]; then month="January"
  elif [ "$month" = "02" ]; then month="February"
  elif [ "$month" = "03" ]; then month="March"
  elif [ "$month" = "04" ]; then month="April"
  elif [ "$month" = "05" ]; then month="May"
  elif [ "$month" = "06" ]; then month="June"
  elif [ "$month" = "07" ]; then month="July"
  elif [ "$month" = "08" ]; then month="August"
  elif [ "$month" = "09" ]; then month="September"
  elif [ "$month" = "10" ]; then month="October"
  elif [ "$month" = "11" ]; then month="November"
  elif [ "$month" = "12" ]; then month="December"
  fi
fi

echo "$month"
###############################################################################
