Installs a new language in an Adaptive Server.
(UNIX) $SYBASE/$SYBASE_ASE/bin.
(Windows) %SYBASE%\%SYBASE_ASE%\bin, as langinst.exe.
langinstall [-I path] [-P password] [-R release_number] [-S server] [-U user] language character_set
langinstall -v
The -R parameter forces langinstall to collect messages from a release previous to the current one. langinstall compares the existing messages with the ones to be installed and replaces any that have changed.
For example, if the current version is 15.0, and the previous version was 12.5, and you think sysmessages may not be correct, include the messages from the earlier version in the syslanguages.upgrade column (12.5 in this case) by specifying -R12.5. langinstall then installs all messages from Adaptive Server 12.5.
The Adaptive Server installation program runs langinstall automatically for a new installation as well as for customers who are upgrading from an earlier version.
Adds the specified language-specific information to master..syslanguages using sp_addlanguage. If the language already exists, langinstall updates the appropriate row in syslanguages.
Adds to, updates, and deletes error messages as necessary from master..sysmessages.
Updates syslanguages.update, inserting the new release number.
Validates the entries in the localization file sections that it uses. If anything is missing, langinstall prints an error message and does not add the language to syslanguages.
Compares the version numbers of each localization file it uses, common.loc and server.loc. If they are not the same, it prints a warning message. syslanguages.upgrade is always set according to the version number in server.loc.
Only a system administrator using the “sa” account can run langinstall.
master.dbo.syslanguages, master.dbo.sysmessages