I´ve created two new field in the cr_prptpl and cr_prp to store the translation for the label and sample fields.
How do I show this fields in the dyn_properties.htmpl? Because just changing the field from .label to .zlabel it didn't work.
I think you also need to modify detail_in for your custom employee role. There around 20 property value lines available on the employee interface with code that displays the property value. Here's an example with the section I think you'd need to change.
<PDM_IF 0 != $args.prop0.required>
document.writeln('<span class="requiredlabeltext"><label for="SET.prop0.value">' + <PDM_FMT ESC_STYLE=C>"$args.prop0.label"</PDM_FMT> + cfgIndRequired + '</label></span>');
document.writeln('<span class="labeltext"><label for="SET.prop0.value">' + <PDM_FMT ESC_STYLE=C>"$args.prop0.label"</PDM_FMT> + '</label></span>');
document.writeln("<input name='SET.prop0.value' id='SET.prop0.value' tabindex=" + _dtl.tabIndex + " value='" + <PDM_FMT ESC_STYLE=C>'$args.prop0.value'</PDM_FMT> + "'>");
I did that (we only use requests so I did on the detail_cr) and the label and sample gets all blank. No error, just blank.
Tel: +55 11 2766-1519
Cel: +55 11 95652-5814
I'm interested in this customization, so i'll try to make it work in my test environment. If I'm successful I'll let you know.
I also can't seem to get the rule name to display the new field. Not sure how it's being generated. I was able to get the values to display the new string field, but not the rule name. Hopefully someone else can chime in here.