Actions
Bug #29386
closedL10n: locales dependency is not taken into account
Start date:
2011-08-31
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
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.
Files
Actions