Project

General

Profile

Actions

Feature #86913

closed

Support for locale based language files

Added by Denis Mir about 6 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
PHP Version:
Tags:
xliff xlf
Complexity:
Sprint Focus:

Description

It would be great if TYPO3 could finally support locale based language files like "en_RS.locallang.xlf".

We do work with hundreds of language variants in multiple multi domain setups. And it is pretty awkward to take care of a list of custom languages like:

 // Add custom languages
$GLOBALS['TYPO3_CONF_VARS']['SYS']['localization']['locales']['user'] = array(
    'en_DE' => 'en_DE',
    'en_AT' => 'en_AT',
    'en_NL' => 'en_NL',
    'en_UK' => 'en_UK',
    'en_TR' => 'en_TR',
    'en_DK' => 'en_DK',
    'en_SE' => 'en_SE',
    'en_BA' => 'en_BA',
    'en_RS' => 'en_RS',
    'en_HR' => 'en_HR',
    'fr_BE' => 'fr_BE',
    'en_GR' => 'en_GR',
);

$GLOBALS['TYPO3_CONF_VARS']['SYS']['localization']['locales']['dependencies'] = array(
    'en_DE' => array('en'),
    'en_AT' => array('en'),
    'en_NL' => array('en'),
    'en_UK' => array('en'),
    'en_TR' => array('en'),
    'en_DK' => array('en'),
    'en_SE' => array('en'),
    'en_BA' => array('en'),
    'en_RS' => array('en'),
    'en_HR' => array('en'),
    'fr_BE' => array('fr'),
    'en_GR' => array('en'),
);

It would be great if TYPO3 would support these locale based language files out of the box.

Actions

Also available in: Atom PDF