~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to java/helpset/javahelp/org/netbeans/modules/java/helpset/docs/internationalize/options_custominter.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--
 
3
*     Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
 
4
*     Use is subject to license terms.
 
5
*
 
6
-->
 
7
<html>
 
8
    <head>
 
9
        <title>Options Window: Internationalization</title>
 
10
<link rel="StyleSheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
11
    </head>
 
12
    <body>
 
13
    <h2>Options Window: Internationalization</h2>
 
14
    <p> <small><a href="#seealso">See Also</a>&nbsp; </small>
 
15
    <p>The IDE enables you to edit various settings that affect the behavior of the I18N module. 
 
16
    You can modify Internationalization settings in the Options window.</p>
 
17
    <p>You can access the Internationalization settings in Advanced Options by choosing Tools &gt; Options from the main menu and clicking Advanced Options in the Options window. 
 
18
    In the left pane, expand the Editing node and select Internationalization.</p>
 
19
 
 
20
 
 
21
    <h3>Properties</h3>
 
22
    <ul>
 
23
    <li><b>Advanced Wizard.</b> When selected, the Modify 
 
24
    Additional Values pane of the Internationalization wizard is enabled. This 
 
25
    pane lets you generate a variable that references the resource bundle. You 
 
26
    can then use the variable to access the resource bundle rather than the bundle's 
 
27
    full name.</li>
 
28
    <li><b>Overwrite Resource Value.</b> When selected, 
 
29
    you can override the values of any existing keys in the resource bundle.</li>
 
30
    </ul>
 
31
 
 
32
    <h3>Expert I18N Settings</h3>
 
33
    <p>The IDE provides special property editors to assist you in  
 
34
    forming POSIX-style regular expressions to 
 
35
    determine whether a string is internationalized and to generate internationalization 
 
36
    code. The editors' dialog boxes include predefined variables for common elements that 
 
37
    you can use in your regular expressions, such as punctuation and spaces.</p>
 
38
    <p>Expert I18N editors for the following properties are available in the IDE:</p>
 
39
    <ul>
 
40
        <li><b>I18n Test Wizard Format.</b>&nbsp;The regular expression used by the 
 
41
        Internationalization Test wizard to identify all internationalized strings. 
 
42
        By default, this setting returns all strings that are parameters of <tt>getString</tt> 
 
43
        (notice that <tt>getBundle</tt> is ommited). For each returned string, the 
 
44
        Internationalization Test wizard looks for a matching key and value in the 
 
45
        source file's resource bundle.</li>
 
46
        <li><b>Bundle Init Format.</b>&nbsp;The default code format used to initialize 
 
47
        resource bundles.</li>
 
48
        <li><b>I18n Search Format.</b>&nbsp;The regular expression used by the Internationalization 
 
49
            wizard and the Internationalize command to identify all strings that should 
 
50
            not be internationalized. The Internationalize command converts all strings 
 
51
            that do not match this format into internationalized strings. 
 
52
            <p> By default, this setting returns all strings that are in <tt>getString</tt> 
 
53
            and <tt>getBundle</tt> method calls. If you append <tt>//NOI18N</tt> to 
 
54
            the regular expression, the IDE will also skip any row that contains a <tt>//NOI18N</tt> 
 
55
            comment. 
 
56
        </li>
 
57
        <li><b>I18n String Format.</b>&nbsp;The default code format used to make internationalized 
 
58
        strings. For more information on individual code formats, see <a href="replacingformat.html">Code 
 
59
        Formats for Internationalized Strings</a>.</li>
 
60
    </ul>
 
61
 
 
62
    <dl>
 
63
        <dt><a name="seealso">See Also</a></dt>
 
64
        <dd>      <a href="i18nwizard.html">Internationalizing a Set of Files With the Internationalization Wizard</a></dd>
 
65
        <dd>      <a href="replacingformat.html">Code Formats for Internationalized Strings</a></dd>
 
66
        <dd>      <a href="addparams.html">Adding Arguments for Message Formats</a></dd>
 
67
        <dd>      <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/configure/configure_options.html">Using the Options Window</a></dd>
 
68
    </dl>
 
69
 
 
70
    <hr><small><a href="../credits.html">Legal Notices</a></small>
 
71
 
 
72
    <table border="0" cellpadding="50">
 
73
        <tr><td>&nbsp;</td></tr>
 
74
    </table></body>
 
75
</html>
 
76