This function tried to implement a kind of define-based translation. I removed this since translations should affect only view, not model...