mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 04:56:02 +02:00
MINOR Added translations for Catalan - thanks to Bernat and Alex MINOR Added translations for English (uk) - thanks to Matt and Marti MINOR Added translations for Spanish (Latin America) - thanks to Antonio, ruben, Miguel, Luis, Carlos, Luciano MINOR Added translations for Spanish (Mexico) - thanks to Nacho and Antonio MINOR Added translations for Spanish (Arguentinia) - thanks to Carlos and Luciano MINOR Added translations for Indonesian - thanks to Fajrin, Lewi, Wirawan, Bima MINOR Added translations for Norwegian Bokmal - thanks to Emil, Siv, Eskild, Andreas, Johannes, Jana, Carl G. MINOR Added translations for Serbian (Serbia) - thanks to Jonan and Oliver git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72775 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'];
|
|
}
|
|
|
|
|
|
?>
|