Bug #42721
closedEM configuration labels do not work with own XLF files
0%
Description
When using EM configs (ext_conf_template.txt) its not possible to use custom language files like de.locallang_em.xlf. Default locallang_em.xlf will work. This functionality is described here: #29248
# cat=basic; type=boolean; label=LLL:EXT:myext/Resources/Private/Language/locallang_em.xlf:em_enable_saving_hooks enable_saving_hooks = 1
Tested with TYPO3 4.7.1
Updated by Felix Nagel about 12 years ago
Note: File must be UTF8, otherwise an error is thrown ("The path provided does not point to existing and accessible well-formed XML file.", see in syslog). When the file is UTF8 the custom translation is not shown but the default language.
Updated by Felix Nagel about 12 years ago
This issue could be closed. I was missing to rename the "source" node to "target".
<trans-unit id="em_enable_saving_hooks"> <source>Bei Ă„nderung Produkt synchronisieren</source> </trans-unit>
to
<trans-unit id="em_enable_saving_hooks"> <target>Bei Ă„nderung Produkt synchronisieren</target> </trans-unit>
A xlf file needs to be renamed (de.xyz.xls), coding needs to be UTF8, target-language attribute needs to be added and and the nodes containing the actual strings need to be renamed to target.
Sorry for the trouble.