Method | Description | |
---|---|---|
__construct ( string $prefix, ITranslator $translator ) | ||
register ( Latte\Template | Nette\Bridges\ApplicationLatte\Template | Nette\Templating\Template $template, string $prefix ) : ITranslator | ||
register23 ( Latte\Template | Nette\Bridges\ApplicationLatte\Template | Nette\Templating\Template $template, string $prefix ) : ITranslator | ||
translate ( string $message, integer | array | null $count = NULL, array | string | null $parameters = [], string | null $domain = NULL, string | null $locale = NULL ) : string | ||
unregister ( $template ) : ITranslator | ||
unwrap ( ) : ITranslator |
Method | Description | |
---|---|---|
overrideTemplateTranslator ( Latte\Template | |
public __construct ( string $prefix, ITranslator $translator ) | ||
$prefix | string | |
$translator | ITranslator |
public static register23 ( Latte\Template | Nette\Bridges\ApplicationLatte\Template | Nette\Templating\Template $template, string $prefix ) : ITranslator | ||
$template | Latte\Template | Nette\Bridges\ApplicationLatte\Template | Nette\Templating\Template | |
$prefix | string | |
return | ITranslator |
public translate ( string $message, integer | array | null $count = NULL, array | string | null $parameters = [], string | null $domain = NULL, string | null $locale = NULL ) : string | ||
$message | string | |
$count | integer | array | null | |
$parameters | array | string | null | |
$domain | string | null | |
$locale | string | null | |
return | string |
public unregister ( $template ) : ITranslator | ||
$template | ||
return | ITranslator |