Made error handling nicer for i18n/:lang