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,
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,
|
What did you do so far? This? |
There is no problem with language setting. I have translated all the languagese. Only name of month on calendar is not translating. |
Guess its a bug in BxDolCalendar.php:185 Try replacing return $this->sMonthName . ', ' . $this->iYear; with return _t('_'.$this->sMonthName) . ', ' . $this->iYear; |
Thank you so much Prukner!! Now name of month on calendar is translated properly. |
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.
Thanks, |
Hi |
Make a new key '_year' in language settings.
return $this->iYear . _t('_year') . _t('_'.$this->sMonthName); |
Thank you so much for your help. Problem is perfectly solved.! |
Thank You for this. this should be added into dolphin bug list to be fixed 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. |