Function t

Translate text (simple form).

Example: t('Hello %s') will return translation for 'Hello %s' (example for Italian 'Ciao %s').
Example: t('Hello %s', 'John') will return translation for 'Hello %s' (example: 'Ciao %s'), using 'John' for printf (so the final result will be 'Ciao John' for Italian).
Located at bootstrap/helpers.php

Parameters summary

string $text The text to be translated.

Return value summary

string Returns the translated text.