Mostly sunny translate

Easy to use and free Joomla module to display weather with forecast from Yahoo.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Nov 19, 2012 10:08 am
Hi,

This string is not translated in the module:
Mostly sunny

I've added this two vars in the ini file but nothing happens


MOD_WEATHER_GK4_MOSTLY_SUNNY = "Majorment solejat"
MOD_WEATHER_GK4_PARTLY_SUNNY = "Parcialment solejat"
User avatar
Fresh Boarder

GK User
Mon Nov 19, 2012 10:13 am
Perhaps they need to be added to helper.php file as well I believe so depending on what is retrieved from yahoo server helper.php translates that string to a joomla string. See modules/mod_weather_gk4/helper.php file around lines 229 / 230 such as below or you can wait for developer to add them to the list.

Code: Select all
229    "Rain Shower"                  => JText::_('MOD_WEATHER_GK4_RAIN_SHOWER'),
230    "Light Rain Showers"            => JText::_('MOD_WEATHER_GK4_LIGHT_RAIN_SHOWERS')


See you around...
User avatar
Platinum Boarder

GK User
Mon Nov 19, 2012 11:36 am
Thank you, it works OK
User avatar
Fresh Boarder


cron