Added locales module and incorperated gettext