/**
  * Build Action
  */
 public function buildAction()
 {
     $table = $this->_getTable();
     $translations = array();
     foreach ($table->fetchAll() as $row) {
         if (!isset($translations[$row->locale])) {
             $translations[$row->locale] = array();
         }
         if (!isset($translations[$row->locale][$row->module])) {
             $translations[$row->locale][$row->module] = array();
         }
         $translations[$row->locale][$row->module][$row->key] = $row->value;
     }
     foreach ($translations as $locale => $translation) {
         Translate_Model_Translate::setTranslation($translation, $locale);
     }
     $this->_helper->flashMessenger('Translation build successful');
     $this->_helper->redirector('index');
 }