Yii Framework Forum: intl functionality - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

intl functionality

#1 User is offline   Ramin Farmani 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 53
  • Joined: 14-April 09
  • Location:Mashhad Iran

Posted 12 July 2012 - 12:29 AM

currently, Yii's date/time localization functionalities is just a formatter in a locale-sensitive manner.
it would be nice to add locale specific calendars, any calendar supported by ICU (e.g. gregorian, persian, islamic, ...).


as IntlDateFormatter is out there as part of php 5.3+, I thing it's easy to integrate Yii's date/time localization with it.




this post is reentered because it's so important for internationalization and yii should be consider new php feature in the next major release.
so some one give a clear explanation to us about this in the Yii 2.0
0

#2 User is offline   yiim 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 40
  • Joined: 28-June 12
  • Location:Germany

Posted 27 July 2012 - 05:09 AM

+1

It would be great if the following extension workarounds would become unnecessary:

http://www.yiiframew...tetime-behavior
http://www.yiiframew...mali18nbehavior
1

#3 User is offline   yJeroen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 94
  • Joined: 06-September 11
  • Location:The Netherlands

Posted 28 July 2012 - 08:02 PM

View Postyiim, on 27 July 2012 - 05:09 AM, said:

+1

It would be great if the following extension workarounds would become unnecessary:

http://www.yiiframew...tetime-behavior
http://www.yiiframew...mali18nbehavior

I fully support this notion! :)
0

#4 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 744
  • Joined: 02-February 09

Posted 30 July 2012 - 01:41 AM

+1
0

#5 User is offline   yiim 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 40
  • Joined: 28-June 12
  • Location:Germany

Posted 01 August 2012 - 03:01 AM

New Wiki article regarding "Custom Number Formatting or Decimal Separators and i18n":

http://www.yiiframew...ators-and-i18n/
1

#6 User is offline   fsb 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 113
  • Joined: 09-January 11

Posted 27 August 2012 - 10:44 AM

php's intl extension has been included in the standard download for a long time. intl is interfaces to ICU. and ICU is the balls. Yii is the balls too so YiiII should use ICU via intl.
Join the happiest place on Freenode: #yii
We've got a MrFisk the bot, hilarious banter and all kinds of other groovy stuff going on.
Comparison of Internet Relay Chat clients
Web IRC client
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users