By going through a site like the Google translator, they are basically reading your page through a proxy/third party server. There are probably 10's of thousands of proxy servers on the Internet, each with their own IP address. It is also easy to obtain a new IP address if they did not want to go to the trouble of finding a different proxy server to use. So, banning IP addresses is not an effective method of limiting access to your content.
What exactly are you trying to prevent? Hot linking of images, which uses your bandwidth? Or limiting access to content on some of your web pages?
To stop hot linking, it is necessary to start a session on your web page and then dynamically output images only if the session exists. [Note: The reason I did not mention checking the HTTP_REFERER header is that every proxy script I have examined sets this to the URL being requested, so it looks like the REFERER is the site where the images are being fetched from.]
To limit access, it is necessary to use email verified registration and login. This however, will only slow someone down, as it is easy to obtain any number of free email accounts that could be used to register with.
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.