This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.
Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.
Project: Version Information Component
Applies to: ~>3.0
property CurrentTranslation: Integer;
This run time property gets or sets the translation to be used by the string file information, language and character set related properties.
Version information resources can contain variable information in more that one langauge / character set combination. TPJVersionInfo defines each of these combinations as a “Translation”.
Translations are specified by assigning a zero based index to the CurrentTranslation property. Valid values are in the range
0 to one less than the total number of translations. The number of translations can be found be reading the NumTranslations property. If an attempt is made to set CurrentTranslation outside this range then the property is given the value
CurrentTranslation is set to
0 when a file is first accessed (i.e. when the FileName property is assigned or when the component is first created) or
-1 if there is no version information in a file.