'need help in creating Dynamic multilingual PDF using java spring boot

I have to create dynamic report in PDF in multiple languages like english,spanish,german,italian etc. .The report is divided in various sections which will have some images and dynamic records in each section. I am not sure how we can achieve this in Java?Can any one share the example? I thought of using freemaker for creating template in html and then converting them to PDF.But freemaker is giving issue when we try to add special characters like Ä/ä, Ö/ö, Ü/ü) Ä/ä, Ö/ö, Ü/ü) ,also formatting the pdf using CSS and adding images to report.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source