mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
2fd786fc18
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@72776 467b73ca-7a2a-4603-9d3b-597d59a354a9
20 lines
298 B
PHP
20 lines
298 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'];
|
|
}
|
|
|
|
|
|
?>
|