translate( ... )

Retrieves the translation of $text.

Parameters:
  • $text string
  • $domain string