The error you found might be due to that I was testing the code.
The translated string in View elements will be added to EJS jar file.
However, it might not be shown in the simulation at once because the jar file has been loaded into browser (and it would not reload it again).
So you might need to close the browser and re-open the web page again to view updated translation.
I also make it possible to translate strings defined in variable tabs from EJS model.
The code still need to be tested and add more features.
Suggestion will be highly appreciated!