Added batch translation function

Added batch translation function