       if @translator?[0] && @location && typeof @location == 'object'
         translatorID = @translator[0]
         translatorID = translatorID.translatorID if translatorID.translatorID
+        Zotero.BetterBibTeX.log('translate:', translatorID)
         for own name, header of Zotero.BetterBibTeX.translators
           if header.translatorID == translatorID
             @_displayOptions.exportPath = @location.path.slice(0, -@location.leafName.length)

  installing = @version(@release)
  Zotero.DB.query("insert or replace into betterbibtex.schema (lock, version) values ('schema', ?)", [@release])

  return if installed == installing

  progressWin = new Zotero.ProgressWindow()
  progressWin.changeHeadline('Better BibTeX: updating database')

  return

Zotero.BetterBibTeX.SQLColumns = (table) ->
  schema = if table == 'cache' then 'cache' else ''
  statement = Zotero.DB.getStatement("pragma betterbibtex#{schema}.table_info(#{table})", null, true)

  # Get name column
  for i in [0...statement.columnCount]
