mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
11 lines
273 B
PHP
11 lines
273 B
PHP
<?php
|
|
|
|
global $lang;
|
|
|
|
if(array_key_exists('de_DE', $lang) && is_array($lang['de_DE'])) {
|
|
$lang['de_DE'] = array_merge($lang['en_US'], $lang['de_DE']);
|
|
} else {
|
|
$lang['de_DE'] = $lang['en_US'];
|
|
}
|
|
|
|
$lang['de_DE']['i18nOtherModule']['LEGACY'] = 'Legacy translation (de_DE)'; |