string getLocale() Returns the current locale.
array getDomains() Gets the domains. Return
string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null)
replace(array $messages, string $domain = 'messages') Sets translations for a given domain.
setFallbackLocales(array $locales) Sets the fallback locales.
interface TranslatorInterface TranslatorInterface. Methods
class PluralizationRules Returns the plural rules for a given locale.
bool defines(string $id, string $domain = 'messages') Checks if a message has a translation (it
class Interval Tests if a given number belongs to a given math interval. An interval can
Page 1 of 8