Refresh i18N message. How?

An i18N message is updated or added programmatically using a form. For example a button is called “Click” with message msg.click=Click. I update its value in a form field to “Press”, save it to an i18N file (or what’s more important in this case to an i18N “messages” table for standalone server).

The form must change “Click” to “Press” at runtime. I am able to achieve the change by restarting Servoy (developer or Servoy Server) but it is not acceptable. At most client interface may be restarted.

How can this be done?

Don’t alter the i18n data, just change the i18n code so it points to the (pre-defined) ‘Press’ value.

I’m afraid it’s not suitable. One reason is that new values will be added at runtime, they are not known in advance thus can not be predefined.