Improved error message
Updated translate script