added add_translation_array method