Project: Binary Version Information Manipulation Units.
Unit: DelphiDabbler.Lib.VIBin.Resource.
Class: TVIBinResource
Applies to: ~>1.0
function AddTranslation(LanguageID, CharSet: Word): Integer;
Creates a new translation with a specified translation code and adds it to the translation table.
Parameters:
- LanguageID -- Language identifier component of the translation code. If the value is
$FFFF
then the language identfier is set to0
. - CharSet -- Character set code component of the translation code. If the value is
$FFFF
then the character set code is set to0
.
Returns:
- The index of the new translation in the translation table.
The translation code should be unique within the translation table, but this is not checked.