用户获得定制包后,可以很快地从英语切换到法语,或者从法语切换到英语。
After users have the custom package, they can quickly switch languages from English to French, and from French to English.
“绑定包的名称”在 Msg 对象的生命周期内将一直存在,可以通过调用 Msg 对象的 setLocale() 来切换语言环境(默认语言环境是 JVM 使用的语言环境)。
While the bundle base name is fixed for the lifetime of the Msg object, you can switch the locale used by the Msg object by calling its setLocale() method (its default is the JVM's default locale).
如果您希望切换一个程序包的查询模式,必须使用要求的设置重新发布程序包。
If you wish to switch the query mode for a package, you must republish the package with the desired setting.
应用推荐