17.10 - Creating a New Localized System Library - Access Module

Teradata® Tools and Utilities Access Module Reference

Access Module
Release Number
October 2021
English (United States)
Last Update
  1. After installation the folder containing the sample file will be in read-only format, and you need to remove the read-only property as follows:
    1. Go to the %PROGRAMFILES%\Teradata\Client\release\AXSMOD folder.
    2. Right click the Teradata OLE DB Access Module Sample folder, select Properties, and clear the read-only attribute checkbox.
  2. Go to https://msdn.microsoft.com/library/windows/desktop/dd318693 to find the Sublanguage ID (Sublang-identifier) for the desired language.
    For example, for Italian, choose “it”.
  3. Open the following files in a text editor, and replace the string OLEDB_AXSMODenu with OLEDB_AXSMOD new_language_ID.

  4. Save the files.
  5. Rename the following files as noted in the table:
    Old Filename New Filename
    OLEDB_AXSMODenu.vcxproj OLEDB_AXSMOD new_language_ID.vcxproj
    OLEDB_AXSMODenu-version.rc OLEDB_AXSMOD new_language_ID-version.rc
  6. Open the OLEDB_AXSMODits-version.rc file in a text editor and make the following changes:
    1. Go to https://msdn.microsoft.com/library/windows/desktop/dd318693 to find the appropriate “Win32 Equivalent” IDs for the desired language.
    2. Replace LANG_ENGLISH with the new language ID.
    3. Replace SUBLANG_ENGLISH_US with the new sub-language ID.
    For example for Italian, replace LANG_ENGLISH with LANG_ITALIAN and SUBLANG_ENGLISH_US with SUBLANG_ITALIAN.
  7. In the OLEDB_AXSMODits.rc file, beneath the comment “Strings which should be translated”, change the string IDs from English to the desired language.
  8. Use the Microsoft Visual Studio 2012 command prompt to locate the OLEDB_AXSMODits.vcproj file.
  9. In the command prompt, enter the following to build the project:
    msbuild OLEDB_AXSMODits.vcxproj /property:Configuration=Release /p:Platform=win32

    The OLEDB_AXSMODits.dll file is created in the .\output\nt-i386 directory.

  10. Copy the newly created OLEDB_AXSMODits.dll file to:
  11. Change the language format:
    1. In the Control Panel, navigate to and click Region and language.
      The Region and Language dialog appears.
    2. From the Format drop-down menu, change the system language format to the new language, and click Apply.
  12. Open OleLoad.
    The localized library is loaded, containing strings in the desired language.