Comment to 'How to make 'labels' translatable'
  • LeonidS can you write an example of a current php code including 'labels' and how to change it. just use an example from any php file and I will follow your example in the rest.
    I'm using a git repository to track all the changes, and I do check the code before merging changes to avoid any conflicts when upgrading. It will be nice if you can include translatable labels in next UNA version :)

    • The labels list is taken by this method of BxDolLabel class

      public function getLabels($aParams = array())

          {

              return $this->_oDb->getLabels($aParams);

          }

      So it's better for you to walk this array with the setting every field like 

      $aArray[$i]['value'] = _t($aArray[$i]['title'] );

      We will think about translatable labels too :-)