ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/program/interid.htm

46 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Identify localizable text</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h5><A NAME="interid"></A>Identify localizable text</h5>
<p>In a non-internationalized application, the interface that is seen by the user is unalterably written into the application code. Alternatively, however, the application developer can localize the displayed strings on the interface and add a layer of abstraction into the design of the application.</p>
<p>For example, suppose you are localizing the GUI for a banking system. The first window contains a pull-down list to be used for selecting a type of account. The labels for the list and the account types in the list are good choices for localization. Three elements require keys: the list itself and two items in the list.</p>
<p>Perform the following steps to identify localizable text in your application:</p>
<ol>
<li>Determine the elements of the application that need to be translated.
<p>Good candidates for localization include:
<ul>
<li>Graphical user interfaces: window titles, menus and menu items, buttons, and
on screen instructions</li>
<li>Prompts in command line interfaces</li>
<li>Application output: messages and logs</li>
</ul>
</p>
</li>
<li>Assign a unique key to each element for use in message catalogs
for the application.
<p>The key provides a language-neutral link between the application and
language-specific strings in the message catalogs. Establishing a naming convention
for keys before creating the catalogs can make writing code with these keys
more intuitive for interface programmers.</p>
</li>
</ol>
<p><strong>Next step: </strong><a href="intercrtmsg.htm">Create message catalogs</a>.</p>
</body>
</html>