Added gettext calls into configuration view

Also rewritten some files from ERB to HAML