Previous Topic: Localizing the Remote Control DialogsNext Topic: Tools Required


Text Files

The text files containing strings that can be localized are in the Remote Control installation folder and have these names:

The first two files have the same format as a Windows .ini file, that is, they are divided into sections prefixed with [sectionname] followed by a set of lines in "id=string" format. The identifier (id) is simply a name by which the various programs refer to a string. You should never change these identifiers, only the string contents.

For example, the start of the section for the host in rcHostViewer.enu looks like this:

#--------------------------------------------------------------------
# The host agent
[rcHost]
IDS_TIMERERROR="Failed to start timer"
IDS_GETADDRESSESTIMERFAILED="Failed to start the timer for checking listening addresses."
IDS_RC="Remote Control"
IDS_OK="success"
IDS_SERVICEINSTALLED="Service installed successfully"
IDS_SERVICEINSTALLFAILED="Failed to install service"
IDS_SERVICESTATUSFAILED="Failed to get service status"
IDS_SERVICESTOPPED="Service is stopped"
IDS_SERVICESTARTING="Service is starting"
IDS_SERVICESTOPING="Service is stopping"
IDS_SERVICERUNNING="Service is running"
IDS_SERVICECONTINUING="Service is continuing"
IDS_SERVICEPAUSEPENDING="Service pause is pending "
IDS_SERVICEPAUSED="Service is paused"
IDS_SERVICEUNKNOWN="Service status is unknown"
IDS_SVCSTARTFAILED="Unable to start service"
IDS_SVCSTARTING="Service %1$t is starting"
IDS_SVCSTARTED="Service started"
IDS_SVCSTOPFAILED="Unable to stop service"
IDS_SVCSTOPPING="Service %1$t is stopping"
#--------------------------------------------------------------------

The strings are quoted. Also, the last example contains the special marker string, "%1$t", which is used by the host to programmatically insert the name of the host service. Some strings may have more than one of these markers. In this case, they are sequentially numbered, for example, "%2$t, %3$t". Some languages may require a different word order than English, so these numbers are used to place the inserted strings in the correct position.