title: TYPO3 TypoScript CONTENT with languageField
body: <p>Is "languageField" only available for tt_content or pages table?</p>
  
  <p>I want to use the CONTENT object on an own extension table:</p>
  
  <pre><code>renderObj = CONTENT
  renderObj {
  
      table = tx_myext_domain_model_table
  
      select {    
          pidInList = 28
          languageField = sys_language_uid
      }
  
      renderObj = COA
      renderObj {
          10 = TEXT
          10.field = description_short
      }
  }
  </code></pre>
  
  <p>But the translation not working. I tooked the TCA-, and SQL-settings from the tt_content. Also defined SQL-keys:</p>
  
  <pre><code>PRIMARY KEY (uid),
  KEY t3ver_oid (t3ver_oid,t3ver_wsid),
  KEY parent (pid,sorting),
  KEY language (l18n_parent,sys_language_uid)
  </code></pre>
  
  <p>Can this be a bug like here described <a href="http://forge.typo3.org/issues/22406" rel="nofollow">http://forge.typo3.org/issues/22406</a>?</p>
  
  <p><strong>edited</strong></p>
  
  <p>In the file <code>typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php</code> line 7578 (TYPO3 6.1.7) you will find these lines:</p>
  
  <pre><code>        if ($GLOBALS['TSFE']-&gt;sys_language_contentOL &amp;&amp; $GLOBALS['TCA'][$table] &amp;&amp; $GLOBALS['TCA'][$table]['ctrl']['languageField'] &amp;&amp; $GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField']) {
              // Sys language content is set to zero/-1 - and it is expected that whatever routine processes the output will
              // OVERLAY the records with localized versions!
              $sys_language_content = '0,-1';
          } else {
              $sys_language_content = intval($GLOBALS['TSFE']-&gt;sys_language_content);
          }
          $query .= ' AND ' . $conf['languageField'] . ' IN (' . $sys_language_content . ')';
  </code></pre>
  
  <p>And <code>$GLOBALS['TSFE']-&gt;sys_language_contentOL</code> will be <code>1</code>. So there will be no translation.</p>
  
  <p>This is the config:</p>
  
  <pre><code>config {
    sys_language_uid = 1
    sys_language_mode = content_fallback; 0
    sys_language_overlay = 1
  }
  </code></pre>
  
  <p>With this config I expect a translation…</p>