\Horde_Translation_Handler

The Horde_Translation_Handler interface defines the interface for any classes providing translations.

Summary

Methods
Constants
t()
ngettext()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

t()

t(  $message) : string

Returns the translation of a message.

Parameters

$message

Returns

string —

The string translation, or the original string if no translation exists.

ngettext()

ngettext(string  $singular, string  $plural, integer  $number) : string

Returns the plural translation of a message.

Parameters

string $singular

The singular version to translate.

string $plural

The plural version to translate.

integer $number

The number that determines singular vs. plural.

Returns

string —

The string translation, or the original string if no translation exists.