Dev: issue #7829 : move getPdfLanguageSettings in new helper pdfHelper