Method | Description | |
---|---|---|
__construct ( $language, $labels ) | ||
getIndex ( $number ) | * The plural rules are derived from code of the Zend Framework (2010-09-25), which is subject to the new BSD license (http://framework.zend.com/license/new-bsd). | |
translate ( $key, $params = [] ) | ||
translateWithChoice ( $key, $choice, $params = [] ) |
Method | Description | |
---|---|---|
localize ( $text ) | ||
pseudoLocalize ( $text ) | ||
pseudoLocalizeText ( $text ) | ||
strtr_utf8 ( $text, $from, $to ) |
public getIndex ( $number ) |