Best way to translate variables

Hi,
we have a workflow application plans to support multiple languages. And some of the process variable should be displayed to user on web, so we just translate all variables on front end.
However, when a new process definition is added, we have to modify front end translation and re-deploy front end app… So I was considering to store these translation in db. But what is the best way to do this?
I have some idea:
1. create my own “translate variable” table to select right translation according current locale.
2. using “dataobject” to store key-value pair in process definition xml.(Is it possible?)
Do you guys have any better way to do this in flowable?
Thanks for your help.