Calendar language problem

I was trying to translate name of month in Japanese but I'm still struggling.

Please see attached image.

 

Does any one know how to solve this problem?

Please give me advice to translate name of month.

Thanks,

 

calendar.png · 10.5K · 229 views
Quote · 25 Nov 2015

What did you do so far? This?

nov.jpg · 25.7K · 321 views
Quote · 25 Nov 2015

There is no problem with language setting.

I have translated all the languagese.

Only name of month on calendar is not translating.

Quote · 25 Nov 2015

Guess its a bug in BxDolCalendar.php:185

Try replacing

return $this->sMonthName . ', ' . $this->iYear;

with

return _t('_'.$this->sMonthName) . ', ' . $this->iYear;

Quote · 25 Nov 2015

Thank you so much Prukner!!

Now name of month on calendar is translated properly.

Quote · 25 Nov 2015

If you can help me one more thing, It will be so helpfull.

Now calendar showing as "11月, 2015" but I like to display ”2015年11月 "


Year comes first and add”年" after 2015.

年 means "year".

Delete comma and month comes afther year.


If you can teach me code to replace it will be helpfull.

Thanks,



Quote · 25 Nov 2015

Hi

This post may help you

https://www.boonex.com/forums/topic/change-date-format-2015-11-10.htm

Quote · 25 Nov 2015

Make a new key '_year' in language settings.

 

return  $this->iYear . _t('_year') . _t('_'.$this->sMonthName);

Quote · 25 Nov 2015

Thank you so much for your help.

Problem is perfectly solved.!

Quote · 25 Nov 2015

 Thank You for this. this should be added into dolphin bug list to be fixedLaughing

Guess its a bug in BxDolCalendar.php:185

Try replacing

return $this->sMonthName . ', ' . $this->iYear;

with

return _t('_'.$this->sMonthName) . ', ' . $this->iYear;

 

Always remember that the future comes one day at a time.
Quote · 26 Nov 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.