title: How to save an attribute value for a specific store view?
body: <p>I'm trying to create a product programmatically in Magento 1.8 and then set some attribute values to it. So far everyting is working, the attributes are being saved correctly with the product under the "default" scope. </p>
  
  <p>The problem is that my store has two different "store view", one in English and one in French. I can't figure how to set the "scope" or "store view" for the data of a specific attribute.</p>
  
  <p>How can I tell Magento to save an attribute value for a specific scope?</p>
  
  <p>Here's a code sample using the "short description" attribute:
       </p>
  
  <pre class="lang-php prettyprint-override"><code> $product = new Mage_Catalog_Model_Product();
   $product-&gt;setSku($sku);
   $product-&gt;setAttributeSetId($attributeSetId);
   $product-&gt;setTypeId($typeId);
   $product-&gt;setName($sku);
   $product-&gt;setWebsiteIDs(array($websiteId));
   $product-&gt;setShortDescription('Short description in english');
   $product-&gt;setShortDescription('Short description in french'); // Scope change here?
  </code></pre>