Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\global_comp.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>About Translatable Components</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T16:11:32Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="About Translatable Components" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E11947-01" /> <link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="up" href="preface.htm" title="Home" type="text/html" /> <link rel="up" href="global.htm" title="Managing Application Global..." type="text/html" /> <link rel="up" href="global_about.htm" title="About Translating an Applic..." type="text/html" /> <link rel="up" href="global_comp.htm" title="About Translatable Components" type="text/html" /> <link rel="prev" href="global_app_rndr.htm" title="Previous" type="text/html" /> <link rel="next" href="global_primary_lang.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="global.htm" title="Managing Application Global...">Managing Application Global...</a> > <a href="global_about.htm" title="About Translating an Applic...">About Translating an Applic...</a> > About Translatable Components</p> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="global_app_rndr.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="global_primary_lang.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BABDBICH" name="BABDBICH"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB25915" id="HTMDB25915"></a>About Translatable <a id="sthref2306" name="sthref2306"></a><a id="sthref2307" name="sthref2307"></a><a id="sthref2308" name="sthref2308"></a>Components</h1> <p>When you build an application in Application Builder, you define a large number of declarative attributes such as field labels, region headings, page header text, and so on. Using the steps described in this section, you can make all the application definition attributes within your application translatable.</p> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref2309" name="sthref2309"></a> <h2><a name="HTMDB25916" id="HTMDB25916"></a>About Shortcuts that Support Translatable Messages<a id="sthref2310" name="sthref2310"></a><a id="sthref2311" name="sthref2311"></a><a id="sthref2312" name="sthref2312"></a><a id="sthref2313" name="sthref2313"></a><a id="sthref2314" name="sthref2314"></a></h2> <p>Application Builder includes two shortcut types that enable you to reference translatable messages:</p> <ul> <li> <p><span class="bold">Message</span>. Use this shortcut to reference a translatable message at run time. Note that the name of the shortcut must match the corresponding message name. At run time, the name of the shortcut expands to the text of the translatable message for the current language.</p> </li> <li> <p><span class="bold">Message with JavaScript Escaped Single Quotes</span>. Use this shortcut to reference a shortcut inside of a JavaScript literal string and reference a translatable message at run time. This shortcut defines a text string. When the shortcut is referenced, it escapes the single quotation marks required for JavaScript.</p> </li> </ul> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="bldapp_cut.htm#CHDFCCAE">"Using Shortcuts"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref2315" name="sthref2315"></a> <h2><a name="HTMDB25917" id="HTMDB25917"></a>About Messages<a id="sthref2316" name="sthref2316"></a></h2> <p>If your application includes PL/SQL regions or PL/SQL processes, you may must translate any generated HTML or text. You may also need to translate messages used in reports if your application uses a language that is not one of the ten languages into which Oracle Application Express is translated.</p> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="global_messages.htm#BABHCAAH">"Translating Messages"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --> <a id="BABJECBI" name="BABJECBI"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="HTMDB25918" id="HTMDB25918"></a>About Dynamic Translation Text Strings<a id="sthref2317" name="sthref2317"></a></h2> <p>Dynamic translations are used for database data that needs to be translated at run time. For example, you might use a dynamic translation to translate a list of values based on a database query. A dynamic translation consists of a translate-from language string, a language code, and a translate-to string. You can also use the <code>APEX_LANG.LANG</code> API to retrieve dynamic translations programmatically.</p> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="global_lovs.htm#BABFHCJA">"Translating Data That Supports List of Values"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref2318" name="sthref2318"></a> <h2><a name="HTMDB25919" id="HTMDB25919"></a>About Translating Region Titles<a id="sthref2319" name="sthref2319"></a></h2> <p>By default, page region titles are included in the generated translation file. However, you can mark a region title as not translatable.</p> <p>To mark a region title as not translatable:</p> <ol> <li> <p>Navigate to the Page Definition. See <a href="bldr_goto_pgdef.htm#CJGHCACC">"Accessing a Page Definition"</a>.</p> </li> <li> <p>On the Page Definition, select the region title.</p> <p>The Edit Region page appears.</p> </li> <li> <p>Select the <span class="bold">exclude title from translation</span> check box.</p> </li> </ol> </div> <!-- class="sect3" --> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref2320" name="sthref2320"></a> <h2><a name="HTMDB25920" id="HTMDB25920"></a>About Translating Templates<a id="sthref2321" name="sthref2321"></a></h2> <p>By default, templates are not translatable, and therefore are not included in the generated translation file. Generally, templates do not and should not contain translatable text. However, if you must mark a template as translatable, select the Translatable check box on the Edit Page Template page.</p> <p>To identify a template as translatable:</p> <ol> <li> <p>On the Workspace home page, click the <span class="bold">Application Builder</span> icon.</p> </li> <li> <p>Select an application.</p> </li> <li> <p>On the Application home page, click <span class="bold">Shared Components</span>.</p> </li> <li> <p>Under User Interface, select <span class="bold">Templates</span>.</p> <p>The Templates page appears.</p> </li> <li> <p>Locate the template you want to edit and select the template name.</p> </li> <li> <p>Under Name, select <span class="bold">Translatable</span>.</p> </li> </ol> <p>You can include translatable text at the application-level by defining the translatable text using static substitution strings. Because application-level attributes are translated, any text defined as a static substitution string will be included in the generated translation file.</p> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="ui_templt.htm#BABBFHJA">"Customizing Templates"</a> and <a href="bldr_attr_standard.htm#CHDBEHDJ">"Substitutions"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --></div> <!-- class="sect2" --> <!-- class="sect1" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="global_app_rndr.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="global_primary_lang.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de