Interface TranslatorInterface

Summary

Fully Qualified Name: Zend\I18n\Translator\TranslatorInterface

Description

Translator interface.

Methods

Name Description Defined By
translate() Translate a message. TranslatorInterface
translatePlural() Translate a plural message. TranslatorInterface

Method Details

translate()

Translate a message.

Parameter Name Type Description
$message string
$textDomain string
$locale string

Returns: string

translatePlural()

Translate a plural message.

Parameter Name Type Description
$singular string
$plural string
$number int
$textDomain string
$locale string|null

Returns: string

Top