title: Transalting to differens languages
body: <p>I'am translating website to different languages, and I stopped next to this function, because i can't replace "Skaiciavimas jau vykdomas" with <code>$AppUI-&gt;_('Calculating..')</code> I get fatal error with non-object. How can i possibly fix it?</p>
  
  <pre><code>public function BeginCalc()
  {
      if($this-&gt;getActive())
      {
          echo "Skaiciavimas jau vykdomas";
      }
      else
      {
          $this-&gt;_BeginCalculation();
          echo "Skaiciavimas pradetas";
      }
  }
  </code></pre>