Issue Bug Closed

#29386L10n: locales dependency is not taken into account

Xavier Perseguers 08/31/11, 15:12 updated 10/24/17, 14:06

Description

Localization support comes with a dependencies between locales. By default the main language is taken as “mother language”:

fr_CA -> fr
pt_BR -> pt

A user may easily define his/her own locales dependency:

$TYPO3_CONF_VARS['SYS']['localization']['locales'] = array(
        'dependencies' => array(
                'fr_CA' => array('pt_BR', 'fr'),
        ),
);

which would make ‘fr_CA’ depend on ‘pt_BR’ and then ‘fr’.

These dependencies are taken into account when retrieving translations using the (new) Extension Manager but are not taken into account when retrieving a label in a given language.

It should naturally fall back on the dependency languages to search for missing label translations before using default English label.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.