added additional function to locale module