mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
20 lines
296 B
PHP
20 lines
296 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* language pack
|
||
|
* @package cms
|
||
|
* @subpackage i18n
|
||
|
*/
|
||
|
|
||
|
i18n::include_locale_file('cms', 'en_US');
|
||
|
|
||
|
global $lang;
|
||
|
|
||
|
if(array_key_exists('es_', $lang) && is_array($lang['es_'])) {
|
||
|
$lang['es_'] = array_merge($lang['en_US'], $lang['es_']);
|
||
|
} else {
|
||
|
$lang['es_'] = $lang['en_US'];
|
||
|
}
|
||
|
|
||
|
|