better code structure of translation info