15 private $defaultLocale;
27 $this->defaultLocale = $defaultLocale;
39 foreach ($locales as $locale) {
static parse($locale)
Create a language, asserting that the language code is valid.
__construct(Locale $defaultLocale, MessageBundle $messages)
Constructor.
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
translate($key, array $args=[], Locale $locale=null)