mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ad15e09235
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@72777 467b73ca-7a2a-4603-9d3b-597d59a354a9
20 lines
308 B
PHP
20 lines
308 B
PHP
<?php
|
|
|
|
/**
|
|
* language pack
|
|
* @package sapphire
|
|
* @subpackage i18n
|
|
*/
|
|
|
|
i18n::include_locale_file('sapphire', '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'];
|
|
}
|
|
|
|
|
|
?>
|