Version info StringFileInfo block languages do not match VarFileInfo translation languages

ID PE038 Level WARNING Category Configuration

Description

Version information contains StringFileInfo blocks with particular language and character set IDs. Version information also contains VarFileInfo blocks with the corresponding translation language and character set IDs. In this executable, StringFileInfo languages do not match VarFileInfo translation languages.

Windows Explorer and other file version info viewers may not be able to show the version information correctly.

Mitigation

If using Visual C++:

  • Make sure the VarFileInfo and the StringFileInfo blocks language and code page are the same.

Arguments

This rule has the following output arguments:

  • resource_lang - Affected VERSIONINFO resource language integral code
  • resource_lang_tag - Affected VERSIONINFO resource language tag (e.g. en, nl-NL or en-US)
  • resource_lang_location - Affected VERSIONINFO resource language location (e.g. Spain, neutral or process_default)