Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 35
CTI OS Internationalization Toolkit 
 
19 of 35 
6 Programmer’s Guide 
In order to make use of the language libraries the CTI OS internationalization Toolkit provides 
the International Resource Loader. This is a COM object that exports the IGetLanguage public 
interface to enable programmers to access translated string text from a Language library built 
with the Toolkit. 
6.1  IGetLanguage Interface 
 
The interface consists of the following properties: 
Property 
Access Type 
Description 
LanguageID 
Read/Write 
Contains the binary code corresponding to the current 
language library loaded. 
Setting a new code causes the International Resource Loader 
to unload the current language library and load the library 
specified with the new code. 
LanguageText Read-Only  Returns 
the 
name 
of the language that corresponds to the 
Language ID. 
 
It publishes two methods: 
Method 
Description 
TextString 
Retrieves a translated string from the current loaded language library. If 
there is no such string, this method returns a null string. 
TextStringDefault 
Retrieves a translated string from the current loaded language library. If 
there is no translation available, this method returns a default string passed 
in the parameter list. 
 
 
 
 
Cisco Systems, Inc.