Added gettext code for i18n, removed old i18n stuff