[TYPO3-mvc] f:translate in BE module

Stephen Bungert stephenbungert at yahoo.de
Sat Sep 15 16:49:22 CEST 2012


Can you use the translate vh in BE modules... every example of a BE module I 
have seen has hard coded labels. I tried using the translate VH to see if 
that would work but it didn't seem to:
---
<f:layout name="Default" />

<f:section name="content">
<h1>{f:translate(key: 'spb2_be_import')}</h1>
</f:section>
---

The above results in an empty H1 tag. I put my language spb2_be_import in my 
BE modules language file, is this the right place?

Thanks,

Stephen 



More information about the TYPO3-project-typo3v4mvc mailing list