Overview

Packages

  • Translation

Classes

  • Horde_Translation
  • Horde_Translation_Handler_Gettext

Interfaces

  • Horde_Translation_Handler

Exceptions

  • Horde_Translation_Exception
  • Overview
  • Package
  • Class
  • Tree

Interface Horde_Translation_Handler

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

Direct known implementers

Horde_Translation_Handler_Gettext
Package: Translation
Author: Jan Schneider jan@horde.org
Located at Horde/Translation/Handler.php
Methods summary
public string
# t( mixed $message )

Returns the translation of a message.

Returns the translation of a message.

Returns

string

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

Var

string $message The string to translate.
public string
# ngettext( string $singular, string $plural, integer $number )

Returns the plural translation of a message.

Returns the plural translation of a message.

Parameters

$singular
The singular version to translate.
$plural
The plural version to translate.
$number
The number that determines singular vs. plural.

Returns

string

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

API documentation generated by ApiGen