使用Registry预览版时的第二个注意事项是决定怎样设置语言环境。
The second consideration when using the Registry Preview is deciding how to set the locale.
首先必须调用setlocale (LC_CTYPE,“ ”)函数,依据环境变量设置语言环境。
The setlocale (LC_CTYPE, ) function must be called to set the locale according to the environment variables first.
对于UNIX操作系统,将从地区设置推导出环境,包括语言、区域和编码集。
For the UNIX operating system, the active environment will be derived from locale setting including language, territory, and code set.
我们用LANG环境变量为所有类别设置缺省语言环境,但 LC_*变量可以用来覆盖单个类别。
The LANG environment variable is used to set the default locale for all categories, but LC_* variables can be used to override individual categories.
如果尚未设置这些配置变量,那么就使用JVM的缺省语言环境,该缺省语言环境是从jsp容器所运行的操作系统中获取的。
If these configuration variables have not been set, then the JVM's default locale is used, which is obtained from the operating system the JSP container is running on.
而货币是由语言环境设置确定的。
希伯来语和阿拉伯语等语言的方向与一般语言不同,对于这些语言,还应该设置DB2BIDI环境变量。
For languages, such as Hebrew and Arabic, which are inherently mixed-directional, DB2BIDI environment variable should also be set.
可以从用户的浏览器设置自动确定特定用户的语言环境,或者由页面作者显式指定特定用户的语言环境。
The locale for a particular user can be determined automatically from the user's browser Settings, or specified explicitly by the page author.
下面的代码片段说明了如何使用 <fmt:setLocale>标记来显式指定用户会话的语言环境设置
The following snippet shows how the <fmt:setLocale> tag is used to explicitly specify the locale setting for a user's session
第三个域是语言的一个环境指针(如果该语言使用了环境指针的话),不过通常都会被设置为0。
The third field is an environment pointer for languages that use one, but is normally just set to zero.
清单3显示如何在InputData数据结构中设置请求语言环境。
Listing 3 shows how to set request the locale in the InputData data structure.
换句话说,这组标记允许页面作者显式地设置其它fmt标记在格式化数据时将要使用的语言环境和时区。
In other words, this group of tags allows the page author to explicitly set the locale and time zone that the other FMT tags will use when formatting data.
如果将scope属性设置成session,那么指定的语言环境被用于用户会话期间访问的所有jsp页面。
If the scope attribute is set to session, then the specified locale is used for all JSP pages accessed over the course of the user's session.
语言环境设置会导致printf中的%l s格式说明符调用wcsrtombs函数以便于将宽字符的参数字符串转换成依赖语言环境的多字节编码。
The locale setting will cause the % ls format specifier in printf to call the wcsrtombs function in order to convert the wide character argument string into the locale-dependent multi-byte encoding.
将此应用程序的本地语言环境设置为 “en-num”并遍历应用程序的所有屏幕。
Set the application's locale to be "en-num" and go over all the screens of your application.
清单4显示如何在Out putData数据结构中设置对语言环境敏感的输出。
Listing 4 shows how to set locale sensitive output in the OutputData data structure.
最后一种可能性就是不指定本地语言环境,而是使用浏览器的默认本地语言环境,而这个默认设置是 Dojo从导航对象提取出来的。
The last possibility is to not specify the locale, which results in using the default locale of the browser, which Dojo extracts from the navigator object.
在一个基于Dojo的应用程序内设置本地语言环境。
机器人根据设备在运行时的语言环境设置加载相应的资源。
Android loads the appropriate resources according to the locale Settings of the device at run time.
四是合理优化农村英语教学课程设置与语言环境。
Forth, collocating the English teaching course in the countryside and the languages environment reasonably.
构建了翻译文件后,可以在系统中改变语言设置,或在环境变量kde_lang中改变语言设置来运行程序。
After building the translations it is possible to either change the language in system Settings, or run applications in another language using the environment variable KDE_LANG.
构建了翻译文件后,可以在系统中改变语言设置,或在环境变量kde_lang中改变语言设置来运行程序。
After building the translations it is possible to either change the language in system Settings, or run applications in another language using the environment variable KDE_LANG.
应用推荐