Update localization of the pdf generation