translation api & ajax work