使用HTML文件作为入口文件,如何做多语言化?

客户端是2.4.0,在文档没有找到相关介绍。

其实一开始我是想用float模式的

可发现设置了float模式也跟dockable模式一样,还是能停靠到编辑器中,改成html文件作文入口能解决了,但是不知道怎么做多语言化,难道要在JS动态修改DOM内容?

var Fs = require('fs');
Editor.Panel.extend({
  // css style for panel
  style: Fs.readFileSync(Editor.url('packages://foobar/panel/index.css', 'utf8')),

  // html template for panel
  template: Fs.readFileSync(Editor.url('packages://foobar/panel/index.html', 'utf8')),
  //...
});

助力一下,楼主想问的应该是使用如上方式加载html,在index.html如何做多语言,同求官方解答~