title: Sitecore custom ribbon button not working
body: <p>I have created a custom ribbon button following the steps mentioned in <a href="http://jondjones.com/how-to-add-a-custom-sitecore-button-to-the-editor-ribbon/" rel="nofollow noreferrer">http://jondjones.com/how-to-add-a-custom-sitecore-button-to-the-editor-ribbon/</a></p>
  
  <p>I can see the button appearing in sitecore:</p>
  
  <p><a href="https://i.stack.imgur.com/8SP4Z.png" rel="nofollow noreferrer">Custom button</a></p>
  
  <p>Command does not get triggered when clicked on the button.</p>
  
  <p>Below is my code:</p>
  
  <pre><code>using System;
  using Sitecore.Shell.Applications.Dialogs.ProgressBoxes;
  using Sitecore.Shell.Framework.Commands;
  
  namespace SitecoreVsPoc.Commands
  {
      public class TranslateContent : Command
      {
          private static readonly object Monitor = new object();
          public override void Execute(CommandContext context)
          {
              if (context == null)
                  return;
              try
              {
                  ProgressBox.Execute("Arjun", "Title", "Applications/32x32/refresh.png", Refresh);
              }
              catch (Exception ex)
              {
                  Sitecore.Diagnostics.Log.Error("Error!", ex, this);
              }
          }
          public void Refresh(params object[] parameters)
          {
              // Do Stuff
          }
      }
  }
  </code></pre>
  
  <p>Below is the command I have registered in commands.config:</p>
  
  <pre><code>&lt;command name="contenteditor:translatecontent" type="SitecoreVsPoc.Commands.TranslateContent,SitecoreVsPoc" /&gt;
  </code></pre>
  
  <p>Note: I am using Sitecore 8.2 initial release.</p>
  
  <p>Can someone suggest a solution for this?</p>