The tutorial uses sentences in one language as the input and targets of the corresponding sentence in another language, no?
If your test set doesn’t have the translations, you won’t be able to calculate the loss.