This modification has a major Bug:
PHP Code:
exec_shut_down();
This call kills the datbase connection - which causes database errors for example in payment_gateway.php for Payment APIs that require feedback display - as there are queries being run after the call to build_user_subscription().
Also, why don't you just use phrases for the subject and body text?
Would make it a lot easier and language independant