[FLOW3-general] Translate label in Controller using translateById
Karsten Dambekalns
karsten at typo3.org
Wed Oct 3 18:22:56 CEST 2012
Hi.
Sorry for the late reply.
On 29.08.12 11:52, Rayuth You (Yuth) wrote:
> My translate file is: Resources/Private/Translations/en/Main.xlf
> <?xml version="1.0"?>
> <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
> <file original="" source-language="en" datatype="plaintext">
> <body>
> <trans-unit id="label.view.brandName">
> <source>Version 1</source>
> </trans-unit>
> ...
You are not having a target element in the XLIFF, so unless you want to
output for the en locale, you won't get anything useful out of this.
Make sure to watch the System_Development.log, it should tell you more
about translation handling failures.
Regards,
Karsten
--
Karsten Dambekalns
TYPO3 Core Developer, FLOW3 / Phoenix Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the FLOW3-general
mailing list