title: Translating add to cart woocommerce
body: <p>I am trying to translate add to cart button. I have 2 code snippets from woocommerce documentation here are they:</p>
  
  <p>FOR SINGLE PRODUCT - THIS ONE WORKS</p>
  
  <pre><code>add_filter( 'woocommerce_product_single_add_to_cart_text', 
  'woo_custom_cart_button_text' );    // 2.1 +
  
  function woo_custom_cart_button_text() {
  
      return __( 'My Button Text', 'woocommerce' );
  
  }
  </code></pre>
  
  <p>FOR PRODUCT ARCHIVE - NOT WORKING? </p>
  
  <pre><code>add_filter( 'woocommerce_product_add_to_cart_text', 
  'woo_archive_custom_cart_button_text' );    // 2.1 +
  
  function woo_archive_custom_cart_button_text() {
  
      return __( 'My Button Text', 'woocommerce' );
  
  }
  </code></pre>
  
  <p>I dont know why this other is not working. Is there some fix. I am using DIVI wordpress theme. And also overwrote my loop archive addtocart.php so I can display quantity input. This is also snippet from woocommerce documentation.</p>