SfI18nAdapter
in package
Minimal i18n adapter for standalone mode.
sfAction code uses $this->context->i18n->__('text') for translations. In standalone mode, pass through the source text (English).
Table of Contents
Methods
- __() : mixed
- Translate a string. Returns the source text in standalone mode.
Methods
__()
Translate a string. Returns the source text in standalone mode.
public
__(mixed $text[, mixed $args = [] ][, mixed $catalogue = 'messages' ]) : mixed
Parameters
- $text : mixed
- $args : mixed = []
- $catalogue : mixed = 'messages'