15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To have <strong>eWebEditPro</strong> appear in<br />

this language<br />

Not one of the Windows-supported<br />

languages<br />

Displaying the User Interface in a Translated Language<br />

Modifying the Language of <strong>eWebEditPro</strong><br />

IMPORTANT! This procedure is only required if the client computer’s Regional Setting language<br />

is different from the language in which you want to display <strong>eWebEditPro</strong>.<br />

To select which translated language to use, follow these steps.<br />

1. Navigate to the directory to which you installed <strong>eWebEditPro</strong>.<br />

2. Open ewebeditprodefaults.js.<br />

3. Find the line that begins this.locale.<br />

4. Between the quotes following this.path+, insert the locale file of the<br />

translation language. For example, to display <strong>eWebEditPro</strong> in Spanish,<br />

change that line so that it looks like this:<br />

this.locale = this.path + "locale040ab.xml";<br />

For a list of languages and corresponding locale identifiers, see ”Standard Locale<br />

Files” on page 202.<br />

5. Save ewebeditprodefaults.js.<br />

From now on, <strong>eWebEditPro</strong> references the locale file specified in<br />

ewebeditprodefaults.js for the text on tooltips, menus, dialogs, etc. It will also<br />

display system messages from files whose name includes the two-character<br />

alphabetical code for the specified country. To continue the example of translating<br />

into Spanish, <strong>eWebEditPro</strong> would reference these files (es is the country code for<br />

Spanish):<br />

• installnowes.htm<br />

• introes.htm<br />

• ewebeditpromessageses.js<br />

• section508tabletextes.js<br />

Do this<br />

You cannot display <strong>eWebEditPro</strong> user<br />

interface menus and dialogs in non-<br />

Windows supported language<br />

6. Update the ewebeditpro.js file according to ”Updating ewebeditpro.js” on<br />

page 213.<br />

7. Update the ewebeditprodefault.js file according to ”Updating<br />

ewebeditprodefaults.js” on page 214.<br />

8. Update the eweputil.js file according to ”Updating eweputil.js” on page 215.<br />

See Also: ”Translating Button Captions and Tool Tips” on page 180<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 204

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!