0

--

Hello!

I use TYPO3 CMS 6.2.9 and the Versatile News System (tx_news). For my User (Editor), I'll only allow to add new news records in my specific sys-folder. Here's my pageTSconfig for the sys-folder:

### only for EDITORS usergroup 2
[usergroup = 2]
  # only show "new news and news tag" for a new data record
  mod.web_list {
    allowedNewTables = tx_news_domain_model_news, tx_news_domain_model_tag
  }
[GLOBAL]

It works.

But how can I translate the labels, for example in german: "Artikel" and "Nachrichten-Tag" in List-View for my Editor. I can't find these strings in Ext. news folder (typo3config/ext/news). In this case, I'll use tx_news not for NEWS, so it won't confuse my backend-user (editor) ;)

I#m talking about this List View:

enter image description here

I can translate all other labels via TCEFORM

TCEFORM.tx_news_domain_model_news.title.label.de = Überschrift

but not the labels at list view.

Thanks for your help.

user2310852
  • 1,654
  • 1
  • 25
  • 52
  • _In this case, I'll use tx_news not for NEWS, so it won't confuse my backend-user (editor)_ what do you mean ? use news not for NEWS? – biesior Dec 17 '14 at 21:45
  • Here is my example live: http://esa-survey.de/de/ergebnisse/querschnitt.html the contentis not really "news" but I use tx_news to handle the data records in backend and frontend. – user2310852 Dec 18 '14 at 09:01

1 Answers1

1

These labels are configured in TCA for given table and only way to override it is changing it's value i.e. by adding this line to typo3conf/extTables.php

$TCA['tx_news_domain_model_news']['ctrl']['title'] = 'Change me...'; 

Problem with this is you can't do it conditionally by default, maybe this EXT will help you (as mentioned on some forum it's not maintained anymore)

http://docs.typo3.org/typo3cms/extensions/tcamanipulate/

How to find it: Every table has its TCA (required) so you can find it with editor, or using SYSTEM > Configuration module to browse currently loaded TCA.

biesior
  • 55,576
  • 10
  • 125
  • 182
  • How did you find out this code line? It works for the title! "$TCA['tx_news_domain_model_tags']['ctrl']['title'] = 'Change me, too..';" - it's for the news tags. Thank you very much. I can change the labels from the other TCA fields by pageTSconfig. Not necessary to use an (old) Ext. Thanks! – user2310852 Dec 19 '14 at 07:40