Variable length setences allowed or padding needs to be done?

In the Week 3 assignment (Machine Translation), we used the corpus as dates and the dates were considered as strings of fixed length (30 was the length of each string as per the assignment). But, will we also pad the sentences for natural language machine translation as well, or keep it variable length and let the model handle that?

The sentences need to be padded to a fixed length.