- 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:
- Go to the %PROGRAMFILES%\Teradata\Client\release\AXSMOD folder.
- Right click the Teradata OLE DB Access Module Sample folder, select Properties, and clear the read-only attribute checkbox.
- 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”.
- Open the following files in a text editor, and replace the string OLEDB_AXSMODenu with OLEDB_AXSMOD new_language_ID.%PROGRAMFILES%\Teradata\Client\20.00\AXSMOD\Project\OLEDB_AXSMODenu_sample.vcxproj%PROGRAMFILES%\Teradata\Client\20.00\AXSMOD\Project\OLEDB_AXSMODenu.rc
- Save the files.
- 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 - Open the OLEDB_AXSMODits-version.rc file in a text editor and make the following changes:
- Go to https://msdn.microsoft.com/library/windows/desktop/dd318693 to find the appropriate “Win32 Equivalent” IDs for the desired language.
- Replace LANG_ENGLISH with the new language ID.
- 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. - In the OLEDB_AXSMODits.rc file, beneath the comment “Strings which should be translated”, change the string IDs from English to the desired language.
- Use the Microsoft Visual Studio 2012 command prompt to locate the OLEDB_AXSMODits.vcproj file.
- 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.
- Copy the newly created OLEDB_AXSMODits.dll file to:%PROGRAMFILES%\Teradata\Client\20.00\bin
- Change the language format:
- In the Control Panel, navigate to and click Region and language.The Region and Language dialog appears.
- From the Format drop-down menu, change the system language format to the new language, and click Apply.
- In the Control Panel, navigate to and click Region and language.
- Open OleLoad.The localized library is loaded, containing strings in the desired language.