Set the Report's Language

Previous  Chapter  Next

setLanguage(language)

 

All relevant items are translated into the common E2 languages : English, French, Chinese, Japanese, German. The E2 setting sadly cannot be gotten for the Python script.

To get the desired language the setLanguage(language) method call can be used.

As parameter english "EN",  german "DE",  french "FR",  chinese "CN",  japanese "JP" has to be passed. If nothing set, English is Default.

  pdf = ReportUtility()

   myPath = "C:\\Users\\...\\TechnologyCommon\\Standard\\AuxiliaryCommands\\Logos\\"

   pdf.setHeaderLogo("MyCustomerHeader.jpg")

   pdf.setFooterLogo("MyCustomerFooter.png")

  pdf.setLanguage("CN")

   pdf.createAutoExecutePDFReport(Operator, myPath)

 

Example: Chinese setting

PDF_SetLanguage


Previous
Previous page
Chapter
Chapter page
Next
Next page