Hi,
what language did you select in your weather? These words are generated via PHP.
Please update to WP Cloudy 2.8.3 I fixed the bug.
Thread Starter
Bernat
(@theredflea)
I can’t find where to translate, please can you say me exactly what file to edit? thanks!!!
Thread Starter
Bernat
(@theredflea)
Language I wan to translate is “Català”. this is the translation I need:
“Dg”, “Dl”, “Dt”, “Dc”, “Dj”, “Dv”, “Ds”
(Sunday, monday…)
thanks!!!
Thread Starter
Bernat
(@theredflea)
I edit the locale.php file to change to:
// Abbreviations for each day.
$this->weekday_abbrev[__(‘Sunday’)] = /* translators: three-letter abbreviation of the weekday */ __(‘Dg’);
$this->weekday_abbrev[__(‘Monday’)] = /* translators: three-letter abbreviation of the weekday */ __(‘Dl’);
$this->weekday_abbrev[__(‘Tuesday’)] = /* translators: three-letter abbreviation of the weekday */ __(‘Dm’);
$this->weekday_abbrev[__(‘Wednesday’)] = /* translators: three-letter abbreviation of the weekday */ __(‘Dc’);
$this->weekday_abbrev[__(‘Thursday’)] = /* translators: three-letter abbreviation of the weekday */ __(‘Dj’);
$this->weekday_abbrev[__(‘Friday’)] = /* translators: three-letter abbreviation of the weekday */ __(‘Dv’);
$this->weekday_abbrev[__(‘Saturday’)] = /* translators: three-letter abbreviation of the weekday */ __(‘Ds’);
but don’t works…
please help
Is it needed to add extra translation strings for Catalan and Croatian language on plugin level?
Croatian and Catalan are available in Openweather API now.