context sensitive right click on TextItem for DynamicForm

Hi,

I would like to add a context sensitive right click on a TextItem that would be added to a dynamic form. TextItem does not have a setContextMenu method, can this be done?

I want the user to right click and then be able to change the label to another string (to translate it into another language).

thanks