Fix crash when attempting to translate a NULL string