The bundle file: .bundle (plug-in file)
打包文件:.bundle(插件文件)
The "bundle base name" is the name of the bundle file minus the locale specifier and extension (in the example above, the bundle base name is messages).
“绑定包的名称”是绑定包文件的名称减去语言环境符号和扩展名(在上面的示例中,绑定包的名称是messages)。
Once the bundle file is loaded, dojo.i18n.getLocalization() is used to get a JSON object that can be used directly in source code to get localized messages.
一旦加载了绑定文件,就使用 dojo.i18n.getLocalization() 来获得 JSON 对象,该 JSON 对象可直接用于源代码以便获得本地化的消息。
应用推荐