On my server, www.googleapis.com resolves to 173.194.76.95; on my work machine it resolves to 74.125.133.95. From my server, the Google Translate API is returning the same Persian string that I'm trying to translate, rather than the English; on my work machine it translates fine. If I modify my work machine's /etc/hosts file so that www.googleapis.com points to 173.194.76.95, then I get the same non-translation problem that the server has.
What's going on? I'd appreciate any insight.
Here's the string I'm trying to translate, in unicode code points (i.e., a Python unicode string):
u'\u0628\u0627 \u0633\u0644\u0627\u0645 \u0648 \u0633\u067e\u0627\u0633 .\u0645\u062f\u062a\u06cc \u0627\u0633\u062a \u0633\u0627\u06cc\u0641\u0648\u0646 \u0645\u0646 \u0642\u0637\u0639 \u06af\u0631\u062f\u06cc\u062f\u0647 \u0627\u0633\u062a0\u0648 \u0686\u0648\u0646 \u0648\u06cc \u067e\u06cc \u0627\u0646 \u0646\u062f\u0627\u0631\u0645 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0635\u062f\u0627\u06cc \u0627\u0645\u0631\u06cc\u06a9\u0627 \u0648 \u0645\u0634\u0627\u0628\u0647 \u0642\u0637\u0639 \u06af\u0631\u062f\u06cc\u062f\u0647 \u0627\u0633\u062a.\u0644\u0630\u0627 \u062a\u0645\u0646\u0627\u06cc \u06a9\u0645\u06a9 \u0648 \u0627\u0631\u0633\u0627\u0644 \u0633\u0627\u06cc\u0641\u0648\u0646 \u0631\u0627 \u062f\u0627\u0631\u0645.\u0686\u0648\u0646 \u0648\u0627\u0642\u0639\u0627 \u0639\u0627\u0644\u06cc \u0628\u0648\u062f \u0648\u0627\u0632 \u0644\u062d\u0627\u0638 \u062f\u0633\u062a\u0631\u0633\u06cc \u062d\u0631\u0641 \u0646\u062f\u0627\u0634\u062a.'
And here it is in Persian characters:
با سلام و سپاس .مدتی است سایفون من قطع گردیده است0و چون وی پی ان ندارم دسترسی به صدای امریکا و مشابه قطع گردیده است.لذا تمنای کمک و ارسال سایفون را دارم.چون واقعا عالی بود واز لحاظ دسترسی حرف نداشت.