- Sample Codes
Google Weather - entering city name using your country language
|Written by kksou|
|Monday, 27 June 2011|
Many users of the Google Weather module have asked me if it's possible to enter the city name in their own lanague, such as Russian, Italian or Chinese. For example: Re:Italian language by infinito1971.
I have tried various method such as using PHP's utf8_encode() to encode the city name in foreign languages. However, none of the methods seem to work.
While the output name of the city name and weather info can be of any language of your choice, it seems that for the GoogleWeather API, you have to input the city name in English.
Well, while the Google Weather API is being used in iGoogle to get the weather information, the API itself is not official for public yet. Hopefully this will change when this API becomes official.
|< Prev||Next >|