doc.silverstripe.org/cms/lang/es_419.php
2011-04-10 21:53:26 +00:00

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'];
}
?>