Hello,
I need a solution to get localized months names in Yii2. But it looks like Yii2 don’t have this in vendor translation?
Is there any solution?
p.s. I need en, uk(ukrainian) translations.
Thanks!
Hello,
I need a solution to get localized months names in Yii2. But it looks like Yii2 don’t have this in vendor translation?
Is there any solution?
p.s. I need en, uk(ukrainian) translations.
Thanks!
You can use the formatter component to display dates in local format. If you only want a list of month names you may find this useful: http://stackoverflow.com/questions/13992296/localized-short-month-names-using-intldateformatter-in-php