add dataLocale management for PDF generation