How to internationalize "Save" and "Cancel" in the grid editor

Hi all,

   Could you tell me how to internationalize "Save" and "Cancel" in the grid editor?  Any help is appreciated!

   The snapshot is attached. Here is the link to the sample: http://demo.vaadin.com/sampler/#ui/grids-and-trees/grid/item-editor

Thanks in advance,
Daniel.Sun
26032.jpg

Hi,

You can set the captions with
setEditorSaveCaption()
and
setEditorCancelCaption()
.

More about it
here
.

Hi Alejandro,

 It works! Thanks a lot!

​Cheers,
Daniel.Sun