blob: 257b0339e42d67502e2362706994a4ea25eb4f5c [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Key/value page</title>
</head>
<body>
<h1>Key/value page</h1>
<h1><img src="../images/tasks-189a.png" alt="Externalize Strings Key/value page"></h1>
<p>Externalize Strings Key/value page</p>
<ul>
<li>In the <span class="control">Enter common prefix for generated keys</span>
text field, you can specify an optional prefix that will be used for all keys.</li>
<li> Select one or more entries in the table and:
<ul>
<li>Press the <span class="control">Translate</span> button to mark them
as entries to externalize or</li>
<li>Press the <span class="control">Never Translate</span> button to mark
them as entries to be not externalized</li>
<li>Press the <span class="control">Skip</span> button to mark them as entries
excluded from externalization</li>
</ul>
</li>
<li>Icons on the left side of the entries are updated and so are the counter
below the table</li>
<li>To edit a key, single-click on a row in the <span class="control">Key</span>
column. You can edit the key in-place. You can also press the <b>Edit Key</b>
button and edit the key in the dialog that appears then.</li>
<li>Press <span class="control">Next</span> to proceed to the Property File
page or press <span class="control">Finish</span> to externalize strings without
checking the settings from the Property File page (if you are not familiar
with the externalize strings functionality, it is recommended that you press
<span class="control">Next</span> to proceed to the Property File page).</li>
</ul>
Note: You can double-click on the icons that are displayed on the left side of
the table entries to alternate the state between <span class="control">Translate</span>,
<span
class="control">Never Translate</span> and <span class="control">Skip</span>
<p>Note (explanation of the table entry states):</p>
<ul>
<li>Strings from entries marked as <span class="control">'Translate'</span> will be externalized and marked as such in the Java file by adding non-nls tags.</li>
<li>Strings from entries marked as <span class="control">'Never Translate'</span> will not be externalized but an non-nls tag will be added to them to inform the wizard that
they need not be translated.</li>
<li>Strings from entries marked as <span class="control">'Skip'</span> will not be externalized and no tags will be added to them.</li>
</ul>
<p><img src="../images/ngrelt.png" alt="Related tasks" border="0" ><br>
<a href="tasks-206.htm">Externalizing Strings</a><br>
<a href="tasks-180.htm">Using the Externalize Strings wizard</a><br>
<a href="tasks-190.htm">Property file page</a><br>
<a href="tasks-100.htm">Undoing a refactoring operation</a><br>
<a href="tasks-101.htm">Redoing a refactoring operation</a><br>
<a href="tasks-82.htm">Refactoring with preview</a><br>
<a href="tasks-83.htm">Refactoring without preview</a><br>
</p>
<p><img src="../images/ngrelr.png" alt="Related reference" border="0" ><br>
<a href="../reference/ref-wizard-externalize-strings.htm">Externalize Strings wizard</a></p>
</body>
</html>