Title: [Plugin: WP Google Weather] WPML Integration
Last modified: August 19, 2016

---

# [Plugin: WP Google Weather] WPML Integration

 *  [Marko Zabreznik](https://wordpress.org/support/users/hekos/)
 * (@hekos)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-google-weather-wpml-integration/)
 * just a line of code to make WP Google Weather [WPML](http://wpml.org/) compatible:
 * version 0.5 at line 132 change to:
    `$lang = (empty($instance['lang']) && defined('
   ICL_LANGUAGE_CODE')) ? ICL_LANGUAGE_CODE : $instance['lang'];`
 * i.e. _if_ no language has been set use WPML’s constant for the current language
   code _if_ it exists.
 * [http://wordpress.org/extend/plugins/wp-google-weather/](http://wordpress.org/extend/plugins/wp-google-weather/)

The topic ‘[Plugin: WP Google Weather] WPML Integration’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-google-weather.svg)
 * [WP Google Weather](https://wordpress.org/plugins/wp-google-weather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-weather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-weather/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Marko Zabreznik](https://wordpress.org/support/users/hekos/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-google-weather-wpml-integration/)
 * Status: not a support question