protected function getTextToRender($match)
 {
     $html = '<label for="obsaudioupload-selectLanguageCode">@selectLanguage@</label>&nbsp;';
     /* @var $translation helper_plugin_translation */
     $translation = plugin_load('helper', 'translation');
     $html .= $translation->renderAutoCompleteTextBox('obsaudioupload-selectLanguageCode', 'obsaudioupload-selectLanguageCode', 'width: 250px;');
     // Set the label text.
     // If the "special" tag was found, use the default text.
     if (preg_match('/' . str_replace('/', '\\/', $this->specialMatch) . '/', $match)) {
         $html = $this->translateHtml($html);
     }
     // If you are here, the "match" was the un-matched segment between the entry and exit tags,
     // which should be the desired label text.
     $html = str_replace('@destinationLabel@', $match, $html);
     $returnVal = parent::getTextToRender($match);
     return str_replace('<!-- insert language selector here -->', $html, $returnVal);
 }