i added some attributes to the server and networkdevice class. To translate the labels of the new fields i added an new file de.dict.xxxxxxx (i.e. for german) in the module folder containing this:
~~~~
Dict::Add('DE DE', 'German', 'Deutsch', array(
// Dictionary entries go here
'Class:Server/Attribute:notes' => 'Zus. Bemerkungen',
));
~~~~~
This didn't work. Adding the above lines to the en.dict.xxxxxxx file the translation is working. What is the right way for multi-language-support in custom modules?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
i added some attributes to the server and networkdevice class. To translate the labels of the new fields i added an new file de.dict.xxxxxxx (i.e. for german) in the module folder containing this:
~~~~
Dict::Add('DE DE', 'German', 'Deutsch', array(
// Dictionary entries go here
'Class:Server/Attribute:notes' => 'Zus. Bemerkungen',
));
~~~~~
This didn't work. Adding the above lines to the en.dict.xxxxxxx file the translation is working. What is the right way for multi-language-support in custom modules?