You can add it anywhere. I've been adding that stuff at the end of the file, just before the closing bracket:
$ubbt_lang['foobar'] = "Viewing the Foo Bar page";<br />?>
Make a backup of the file before you change it, and be careful not to add any whitespace after the ?>.