fix translate support for languages and automatic translation