01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NLS Environment Variables<br />

18.1.1 Language-Independent Functions<br />

Language-independent functions handle manipulation of data in an appropriate<br />

manner, depending on <strong>the</strong> language and terri<strong>to</strong>ry of <strong>the</strong> runtime opera<strong>to</strong>r. Data is<br />

au<strong>to</strong>matically formatted according <strong>to</strong> local date and time conventions.<br />

18.1.2 Language-Dependent Data<br />

With language-dependent data, you can isolate your data. This enables your<br />

application <strong>to</strong> deal only with translating strings that are unique <strong>to</strong> your application.<br />

Because <strong>the</strong> language-dependent data is separate from <strong>the</strong> code, <strong>the</strong> operation of NLS<br />

functions is governed by <strong>the</strong> data supplied at runtime. New languages can be added<br />

and language-specific application characteristics can be altered without requiring code<br />

changes. This architecture also enables language-dependent features <strong>to</strong> be specified for<br />

each session.<br />

18.2 NLS Environment Variables<br />

NLS environment variables are au<strong>to</strong>matically set <strong>to</strong> default values during <strong>Oracle</strong><br />

Application Server installation.<br />

Table 18–1 lists and describes NLS-related environment variables that are particularly<br />

relevant <strong>to</strong> <strong>Oracle</strong>AS <strong>Reports</strong> Services.<br />

18.2.1 NLS_LANG Environment Variable<br />

Note: On a given <strong>Oracle</strong>AS <strong>Reports</strong> Services host machine, you<br />

can specify only one language. If you are providing application<br />

server services <strong>to</strong> a multilingual audience, you must have a<br />

separate host machine for each language.<br />

Note: For more information on all NLS environment variables, see<br />

<strong>the</strong> <strong>Oracle</strong> Application Server 10g Globalization Guide on <strong>the</strong><br />

<strong>Oracle</strong> Technology Network, (http://otn.oracle.com).<br />

Table 18–1 Environment variables particularly related <strong>to</strong> <strong>Oracle</strong>AS <strong>Reports</strong> Services<br />

Variable Description<br />

NLS_LANG Relevant <strong>to</strong> <strong>Oracle</strong>AS <strong>Reports</strong> Services. The language<br />

settings used by <strong>Oracle</strong>AS <strong>Reports</strong> Services.<br />

DEVELOPER_NLS_LANG The language for <strong>Reports</strong> Builder.<br />

USER_NLS_LANG The language for <strong>the</strong> <strong>Reports</strong> Runtime component.<br />

The NLS_LANG environment variable specifies <strong>the</strong> language, terri<strong>to</strong>ry, and character<br />

set settings <strong>to</strong> be used by <strong>Oracle</strong>AS <strong>Reports</strong> Services. Specifically:<br />

■ The language for messages displayed <strong>to</strong> <strong>the</strong> user<br />

■ The default format masks used for DATE and NUMBER data types<br />

■ The sorting sequence<br />

■ The character set<br />

18-2 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!