Support translate string direction