2011-12-07 56 views
0

要使用另一種語言而不是默認語言,必須做些什麼。我已經有:TYPO3:tt_news多語言配置 - 儘管沒有翻譯,也顯示[更多]鏈接

  • 網站語言
  • 網頁翻譯的新聞綜述(顯示:最新)
  • 頁翻譯詳細消息(顯示:SINGLE)

在我的默認語言一切加工。但對於新語言,我只能在頁面上看到空白的新聞,點擊[更多]鏈接,點擊後會給我no news_id given。我是否必須爲存儲新聞的文件夾創建頁面翻譯?到目前爲止,我只能爲每個新聞條目設置語言。

編輯:

我創建了一個翻譯我的文件夾,存儲的消息。現在它似乎工作。但是,如果沒有翻譯,我怎麼能刪除[更多]鏈接?

這是在HTML代碼

<div class="news-latest-container"> 

      <div class="news-latest-item"> 
      <div class="news-item-left"><a title="" href="xxx/news/news-detail.html"></a></div> 
      <div class="news-item-right"> 
       <h3><a title="" href="xxx/news/news-detail.html"></a></h3> 
       <p></p><hr class="clearer"> 

       <div class="news-latest-morelink"><a title="" href="xxx/news/news-detail.html">[more]</a></div> 
      </div> 
      </div> 


      <div class="news-latest-item"> 
      <div class="news-item-left"><a title="" href="xxx/news/news-detail.html"></a></div> 
      <div class="news-item-right"> 
       <h3><a title="" href="xxx/news/news-detail.html"></a></h3> 
       <p></p><hr class="clearer"> 

       <div class="news-latest-morelink"><a title="" href="xxx/news/news-detail.html">[more]</a></div> 
      </div> 
      </div> 


</div> 

我也使用

plugin.tt_news.displayList.subheader_stdWrap.append > 

到剿第二多個鏈路。但爲什麼會有空的消息顯示?

回答

0

我爲我的文件夾創建了一個翻譯,用於存儲新聞。現在它似乎工作。對於另一個問題:我添加了以下幾行代碼:

plugin.tt_news.showNewsWithoutDefaultTranslation = 0 
plugin.tt_news.sys_language_mode = strict 

現在no news in this list.被顯示。