def survey_getAllTranslationsForTemplate(template_id):
 table = current.s3db.survey_translate
 row = current.db((table.template_id == template_id)).select()
 return row

def survey_getAllTranslationsForTemplate ( template_id ) : table = current . s3db . survey_translate row = current . db ( ( table . template_id == template_id ) ) . select ( ) return row
function to return all the translations for the given template .