Version info VarFileInfo block translation language does not match resource language
ID PE037 Level WARNING Category Configuration
Description
Version information contains a VarFileInfo block
with the particular translation language and character set ID.
Version information itself is placed in the executable resource directory under the entry with another language ID.
In this executable, VarFileInfo
translation language ID does not match the corresponding resource language ID.
Mitigation
If using Visual C++:
- Make sure the
VarFileInfo
language is set correctly. - Make sure you include the
VERSIONINFO
structure in the resource with the same language code. See theLANGUAGE
statement reference forrc
files.
Arguments
This rule has the following output arguments:
-
resource_lang
- AffectedVERSIONINFO
resource language integral code -
resource_lang_tag
- AffectedVERSIONINFO
resource language tag (e.g.en
,nl-NL
oren-US
) -
resource_lang_location
- AffectedVERSIONINFO
resource language location (e.g.Spain
,neutral
orprocess_default
) -
translations_lang
- AffectedVERSIONINFO
VarFileInfo
block language integral code -
translations_lang_tag
- AffectedVERSIONINFO
VarFileInfo
block language tag (e.g.en
,nl-NL
oren-US
) -
translations_lang_location
- AffectedVERSIONINFO
VarFileInfo
block language location (e.g.Spain
,neutral
orprocess_default
)
Loading...
Unable to load this documentation page.