   colorScheme = tabJson.colorScheme
   customMessage = tabJson.customText
   collectName = tabJson.collectName
+  window.anchortab.i18n = tabJson.i18n
 
   # Load the Anchor Tab stylesheet.
   atStyleSheet =

      .append(
        $("<button />")
          .addClass("maximize")
          .text("Maximize Anchor Tab")
          .click(->
              $("#anchor-tab").removeClass("minimized").addClass("visible")
              setStateCookie 'visible'


    error: (xhr, status, error) ->
      $("#anchor-tab [disabled]").removeAttr("disabled")
      alert(anchortab.i18n["tab-somethingWentWrong"])

      gaqInfo = "Domain: " + document.domain + " Response Status: " + status
      _gaq.push ["at._trackEvent", "Submission", "Submission Error", gaqInfo]
