Cisco Cisco Computer Telephony Integration OS 8.5 Entwickleranleitung
CTI OS Internationalization Toolkit
11 of 33
Cisco Systems, Inc.
2.5 Message Definitions
Each message consists of a minimum of five (5) lines: MessageId, SymbolicName, Language,
language-specific translation, end-of-message line (consisting of a period).
language-specific translation, end-of-message line (consisting of a period).
Figure 5. Message definition
Key points:
§ For each message select a unique MessageId. This is what identifies the string text in the
language library and is what you will use in the API to retrieve this string.
§ For each message select a unique SymbolicName, this value will be used by the MC compiler
to create an include file that is used by the resource compiler.
§ The language entered in the Language= line must match the language name entered in the
LanguageNames= line. Only the language name should be entered.
§ The language-specific translation must follow the Language= line. The translation may
consist of multiple lines.
§ A line with a period defines the end of the translation for the entry.
3 Building a Language Library
Copy the template project provided with the Toolkit and rename it to conform to the country or
language for which you will be generating the library. For example, CtiOsLanguage.ESM.dsp.
language for which you will be generating the library. For example, CtiOsLanguage.ESM.dsp.
•
Start Microsoft Visual Studio.
§ Select File + Open Workspace … to open the Internationalization Toolkit Workspace.
§ Double-click on the CtiOsLanguage.mc file, then select File Save As … and save the
message file with a language specific name, such as CtiOsLanguage.ESM.mc.
;/* These keywords group buttons on the phone */
MessageId=0x7024
SymbolicName= CTIOS_AGENTPHONE_LOGINGROUP
Language=English
Login
.
SymbolicName= CTIOS_AGENTPHONE_LOGINGROUP
Language=English
Login
.