[TYPO3-50-general] xliff Prob width TYPO3 6

Paul Bader p.bader at techdivision.com
Fri Mar 8 16:52:53 CET 2013


I have a problem width the translations language.xlf.

For my projects I create the setup in a simple TYPO3 Ext.

My locallang.xlf is in the Folder - you can found it in

Typo3conf/ext/typo3theme/Resources/Language/

I have also for translations

de.language.xlf
en.language.xlf

Inside  a Langauagemenu i use for a Label the following path

data = 
LLL:typo3conf/ext/typo3theme/Resources/Private/Language/locallang.xlf:languageswitch-label

The Label will replaced width the content from the locallang.xlf.


When i use the languageswitchlabel in the Page FE eg. from L=1 to L=2 or 
to L=1 the Files de.language.xlf and en.language.xlf will not be used.

Is this a bug width TYPO3 6 or what did I wrong. My Language Setup is OK 
and works fine.


THANKS FOR YOUR HELP

Following my locallang.xlf

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
     <file source-language="en" datatype="plaintext" original="messages" 
date="2013-02-24T16:42:57Z" product-name="typo3theme">
         <header/>
         <body>
             <trans-unit id="languageswitch-label" approved="yes" 
xml:space="preserve">
                 <source>Languageasdfasdf</source>
             </trans-unit>
         </body>
     </file>
</xliff>

de.language.xlf


<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
     <file source-language="en" target-language="de" 
datatype="plaintext" original="messages" date="2013-02-24T16:42:57Z" 
product-name="typo3theme">
         <header/>
         <body>
             <trans-unit id="languageswitch-label" approved="yes">
                 <source>Language</source>
                 <target state="translated">Sprachwahl</target>
             </trans-unit>
         </body>
     </file>
</xliff>


en.language.xlf
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
     <file source-language="en" target-language="en" 
datatype="plaintext" original="messages" date="2013-02-24T16:42:57Z" 
product-name="typo3theme">
         <header/>
         <body>
             <trans-unit id="languageswitch-label" approved="yes">
                 <source>Language</source>
                 <target state="translated">Language1</target>
             </trans-unit>
         </body>
     </file>
</xliff>

-- 

Paul Bader

TYPO3 Certified Integrator

MEDIENGESTALTER FÜR DIGITAL- UND PRINTMEDIEN

Telefon +49 8031 2210 55 - 0

Telefax+49 8031 2210 55 - 22

info at techdivision.com <mailto:info at techdivision.com>

TechDivision GmbH

Spinnereiinsel 3a
83059 Kolbermoor

Magento Gold Partner

TYPO3 Gold Member

Geschäftsführer: Josef Willkommer, Stefan Willkommer
Handelsregister Nr. HRB 17123, Amtsgericht Traunstein
UStID gemäß § 27 a Umsatzsteuergesetz: DE249664276

www.techdivision.com <http://www.techdivision.com> TechDivision



More information about the TYPO3-project-5_0-general mailing list