Fix return values, rename detect method, reverse translation directions in translate