Dynamic locale messages

At present, I make two files translation which are static. Can I call data from server for translation file?
Thanks you!

we can use XMLHttpRequest to solve this issuse.