silverstripe-framework/tests/i18n/_fakewebroot/i18nothermodule/lang/de_DE.php

11 lines
273 B
PHP
Raw Normal View History

<?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)';