Project: Binary Version Information Manipulation Units.
Unit: DelphiDabbler.Lib.VIBin.Resource.
Class: TVIBinResource
Applies to: ~>1.0
procedure SetTranslation(TransIdx: Integer; LanguageID, CharSet: Word);
Updates the language identifier and / or character set code of a translation within the the translation table.
Parameters:
- TransIdx -- Index of the required translation in the translation table.
- LanguageID -- The new language identifier. If the value is
$FFFF
then the language identifer is not updated. - CharSet -- The new character set code. If value is
$FFFF
then the character set code is not updated.
Exception:
- EVIBinResource is raised if TransIdx is out of bounds.
The new translation code should be unique within the translation table, but this is not checked.