That's really good question! We haven't thought about it yet, I guess. With MediaWiki we have `JSMessages` and `$.msg()`...