mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
20 lines
328 B
PHP
20 lines
328 B
PHP
<?php
|
|
|
|
/**
|
|
* language pack
|
|
* @package modules: multiform
|
|
* @subpackage i18n
|
|
*/
|
|
|
|
i18n::include_locale_file('modules: multiform', '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'];
|
|
}
|
|
|
|
|
|
?>
|