Creating a New Localized System Library - Access Module

Teradata® Tools and Utilities Access Module Reference

Product
Access Module
Release Number
17.00
Published
November 30, 2020
Language
English (United States)
Last Update
2020-11-18
dita:mapPath
sch1544831938749.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2425
lifecycle
previous
Product Category
Teradata Tools and Utilities
  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 .
    %PROGRAMFILES%\Teradata\Client\16.20\AXSMOD\Project\OLEDB_AXSMODenu_sample.vcxproj

    %PROGRAMFILES%\Teradata\Client\17.00\AXSMOD\Project\OLEDB_AXSMODenu.rc
  4. Save the files.
  5. Rename the following files as noted in the table:
    Old Filename New Filename
    OLEDB_AXSMODenu.rc OLEDB_AXSMODits.rc
    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:
    %PROGRAMFILES%\Teradata\Client\17.00\bin
  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.