class LoggingTranslator implements
mixed getMetadata(string $key = '', string $domain = 'messages') Gets metadata for the given
array all(string $domain = null) Gets the messages within a given domain. If $domain is
ResourceInterface[]
MessageCatalogueInterface|null
setLocale(string $locale) Sets the current locale.
setMetadata(string $key, mixed $value, string $domain = 'messages') Adds metadata to a message domain
string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null)
addResource(ResourceInterface
replace(array $messages, string $domain = 'messages') Sets translations for a given domain.
Page 7 of 8