<?php \caspar\core\Caspar::getI18n()->setCharset('utf-8'); setlocale(LC_ALL, array('en_US@euro', 'en_US', 'en'));
/** * Run the I18n translation function * * @param string $text the text to translate * @param array $replacements[optional] replacements * * @return string */ function __($text, $replacements = array(), $html_decode = false) { $i18n = \caspar\core\Caspar::getI18n(); return $i18n instanceof \caspar\core\I18n ? $i18n->__($text, $replacements, $html_decode) : $text; }