[TYPO3-english] Tokens translation

Ernesto Domato edomat at gmail.com
Fri Oct 14 16:36:10 CEST 2011


Hi,

I'm using version 4.5.3 of Typo3 and I thought that the problem may be
the cache, but maybe is that I'm not using the XML file properly.

For example, I added a second string and now both string disappears
from the site.

My TS is:

10 = TEXT
10.wrap = <li class="grid_6"><h3>|</h3></li>
10.data = LLL:fileadmin/languages/tokensTranslation.xml:productsInfo.right_paginator.TechnischeDaten

20 = TEXT
20.wrap = <li class="grid_5"><h3>|</h3></li>
20.data = LLL:fileadmin/languages/tokensTranslation.xml:productsInfo.right_paginator.Basisinformationen

And my XML is:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
  <meta type="array">
    <description>All language tokens for my template</description>
    <type>module</type>
  </meta>
  <data type="array">
    <languageKey index="default" type="array">
      <label index="productsInfo.right_paginator.TechnischeDaten">Technische
Daten</label>
    </languageKey>
    <languageKey index="es" type="array">
      <label index="productsInfo.right_paginator.TechnischeDaten">Especificaciones</label>
    </languageKey>
    <languageKey index="en" type="array">
      <label index="productsInfo.right_paginator.TechnischeDaten">Specifications</label>
    </languageKey>
    <languageKey index="default" type="array">
      <label index="productsInfo.right_paginator.Basisinformationen">Basisinformationen</label>
    </languageKey>
    <languageKey index="es" type="array">
      <label index="productsInfo.right_paginator.Basisinformationen">Información
Básica</label>
    </languageKey>
    <languageKey index="en" type="array">
      <label index="productsInfo.right_paginator.Basisinformationen">Basic
Information</label>
    </languageKey>
  </data>
</T3locallang>

So, I think that I'm generating the XML in a wrong way.

Thanks for your help.
Ernesto


More information about the TYPO3-english mailing list