For translating the report Items there are translation files for each provided language (English, French, Chinese, Japanese and German).
The text items of the report are translated by NLS files (*.lng)
These are plain text files and can be edited with regular text editors, like Notepad++.
Just define the internal name of the desired item and add the desired translation after the equal sign (beware that the item name is not already existing)
To get the desired item in the Python script, use the getNLS(…) method from the NLS-Class
The parameters are: the (exact) name of the item and (optional) a default string, for when the item cannot be found.
|