echo getPhrase('login.welcome_message', array('username' => $username));
echo getPhrase('account.balance', array('amount' => $balance, 'currency' => $currency));This code retrieves the language phrase 'account.balance' from the language package and replaces the variables '$balance' and '$currency' in the text. Phpfox getPhrase belongs to the Phpfox library package for multilingual websites.