mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 13:36:12 +02:00
20 lines
306 B
PHP
20 lines
306 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'];
|
|
}
|
|
|
|
|