Project

General

Profile

Actions

Bug #42721

closed

EM configuration labels do not work with own XLF files

Added by Felix Nagel over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2012-11-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Felix Nagel over 11 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.

Actions #2

Updated by Felix Nagel over 11 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.

Actions #3

Updated by Georg Ringer over 11 years ago

  • Status changed from New to Closed

as requested

Actions

Also available in: Atom PDF