I am creating some translations for a form in PHP, I am translating all Japanese to English, then in a separate PHP file I have all the translations based on specific country.
Previously I translated using PHP Echo, like below:
<?php echo __('Subject'); ?>
Which in my translation file I would then write for example:
'Subject' => 'ご用件',
How would I add a translation to the following, I don't think my attempt is correct:
Previous Code:
$body = $applicant['username'].' さま
<br/><br/>
My Attempt:
$body = $userData['username'].' __('Dear:username', array(':username' => $userData));さま
<br/><br/>
';` Maybe that was the problem ? – Asenar Nov 22 '13 at 09:37