powered by CADENAS

Manual

Manual

5.12.3.12.  Translations

Translations for any texts can be stored in *.def files.

Here, in the "frame" element, the responsible def file must be reference to. Compare to Section 5.12.3.10, “[ELEMENT_frame] Combine more elements in frame ”.

[ELEMENT_frame] 
type=frame 
dxf=default.dxf 
translation=default.def 
unit=mm

Translation text

Translation text

Texts are declared in the template file (*.dw) under [ELEMENT_...] in the text attribute.

[ELEMENT_text1]
type=text
parent=frame
position_x=260.00
position_y=148.30
position_w=59.25
position_h=15.37
text=Normbezeichnung: $NB.
text_size=3
width_factor=0.1
sizeable=false
translateable=true

The translation text shows up in the translation file (*.def) in brackets.

The desired translation languages are then listed with the respective language indicator (german, english, french, etc.).

[Normbezeichnung: $NB.]
german=Normbezeichnung: $NB.
english=Standard name: $NB.