Creating A Localization Table In Golive - Adobe GoLive CS2 Programmer's Manual

Hide thumbs Also See for GoLive CS2:
Table of Contents

Advertisement

SDK Programmer's Guide
</body>
The localization table looks like this:
US
Are you sure?
Search
The table must present localization data in the following format:
The topmost item in each column is a two-letter country code identifying the language in which the
rest of the column's entries are written. Valid codes are those for the roman-character language subset
of all codes the ISO-3166-1 standard defines.
In the example, the "US" country code appears as the topmost item in the column that contains
English-language strings. The "DE" string labels the column of German-language strings, and the
"NO" string labels the column of Norwegian localization strings.
The leftmost item in each row is an English-language string to be localized. This string must appear in
the table exactly as it appears in the extension's source code. The remaining cells in each row hold
localized versions of the string in the leftmost cell.

Creating a localization table in GoLive

You can take the following steps to create a localization table easily in GoLive:
1. In Source view, add <jsxlocale> and </jsxlocale> tags to your extension's Main.html file.
2. In Layout view, locate the <jsxlocale> placeholder and click the triangular icon in its upper-left
corner.
3. It expands to reveal the body of this element. Because this newly created element is empty, a text-entry
line appears.
4. Drag the table palette entry from the Basic palette into the text-entry line in the <jsxlocale>
placeholder.
5. In the table's Inspector window, set the number of rows and columns this table is to have.
6. In Layout view, enter the table's string values: country codes, English-language strings, and localized
versions of strings.
This code produces the following example table:
<jsxlocale>
<table border="2" cellpadding="2">
// contents of localization table here
</table>
</jsxlocale>
</html>
DE
Sind Sie sich sicher?
Suchen
<tr>
<th>US</th>
<th>DE</th>
<th>NO</th>
</tr>
<tr>
Adobe GoLive CS2 SDK
Localization and Translation
NO
Er du sikker?
Start søk
150

Advertisement

Table of Contents
loading

Table of Contents