getletter does not fallback to default language, it searches for a language if passed then gives up To recreate 1 - Enable 'TranslateNotices' syspref 2 - Define ACCOUNT_CREDIT notice for print transport in default language 3 - Make sure 'English (en)' notice is not defined 4 - Make a payment on a patrons account 5 - Go to the patrons transactions and click 'Print' on the payment 6 - Is blank? 7 - Copy notice from default to english 8 - Try again, it works
getletter must not fallback, see also bug 27660. And bug 28514. *** This bug has been marked as a duplicate of bug 27660 ***
Please also see bug 28374 Nick.. it converts pos/printreciept to use GetPreparedLetter.