removed ajax and translate methods