anchor.diff:  
         ki.MnemonicLayout := GetSystemStore(Memory, TSS_MNEMONIC, smnemonic) and (smnemonic <> '0');
   
  -      {GetSystemStore(Memory, TSS_LANGUAGE, lang);
  -      if kfh.dwFileVersion = $0600
  -        then ki.LanguageID := StrToIntDef(lang, 0)
  -        else ki.LanguageID := 0;}
         ki.KeyboardID := kfh.KeyboardID;
         ki.DefaultHotKey := kfh.HotKey;
         ki.LogicalLayout := (kfh.dwFlags and KF_LOGICALLAYOUT) = KF_LOGICALLAYOUT;
  
positive.code:         end;
        end;
      end
      else if kfh.dwFileVersion = $0400 then
        raise EKMXError.Create(EKMX_OldKeyboardFile,
          'The keyboard file is from version 4.0 and is not supported in this version of Keyman.')
      else if kfh.dwFileVersion > $0600 then
      begin
        if GetSystemStore(Memory, TSS_COMPILEDVERSION, ver) then
        begin
  
negative.code:     if kfh.dwIdentifier <> FILEID_COMPILED then
        raise EKMXError.CreateFmt(EKMX_InvalidKeyboardFile, 'The keyboard file %0:s is invalid', [ExtractFileName(FileName)]);
  
      if (kfh.dwFileVersion >= VERSION_50) and (kfh.dwFileVersion <= VERSION_MAX) then  // I3377
      begin
        ki.FileVersion := kfh.dwFileVersion;
        GetSystemStore(Memory, TSS_NAME, ki.KeyboardName);
  