Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 35
CTI OS Internationalization Toolkit 
 
7 of 35 
After the language library is produced, the client application uses the toolkit’s API to access the 
localized strings text in the language library as in Figure 2. 
 
 
 
 
 
 
 
 
Dim objIntl  As New INTLRESOURCELOADERLib.GetLanguage
 
Const CTIOS_AGENTPHONE_APPNAME = &H702A 
 
Private Sub Form_Load() 
   lstLaguages.ListIndex = 1 
End Sub 
 
 
Private Sub lstLaguages_Click() 
Dim strTranslatedStr As String 
 
objIntl.LanguageID = lstLaguages.ItemData(lstLaguages.ListIndex) 
 
strTranslatedStr = objIntl.TextStringDefault(CTIOS_AGENTPHONE_APPNAME, _ 
                                            "CISCO CTI OS Agent Phone") 
lblMessage.Caption = strTranslatedStr 
 
End Sub 
Figure 2. Localized application 
 
1.2  What Is Provided on the CD 
The CTI OS Internationalization Toolkit is included within the distribution CD of the CTI OS 
Toolkit and its components are located in the Win32 CIL subdirectory. The parts that constitute 
the toolkit are listed in Table 2. 
Cisco Systems, Inc.