Test for translation_metadata before using it.