Added gettext functionality to Loops