xml file¶
Inside the xxx_language.xml file the texts for the localization of the PythonPart are defined. The texts are used in the property palette of the PythonPart. For language the shortcut for each Allplan language (deu, eng, fr, …) will be used.
The location of the xxx_language.xml file must be the same as the location of the xxx.pyp file.
The format of the xml file looks like this:
<?xml version=“1.0”?>
<Element>
<StringTable>Allplan PythonParts stringtable</StringTable>
<Item>
<TextId>1001</TextId>
<Text>Hallo</Text>
</Item>
<Item>
<TextId>1002</TextId>
<Text>Guten Tag</Text>
</Item>
</Element>