Yii Framework Forum: Redefining of base Yii messages - Yii Framework Forum

Jump to content

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

Redefining of base Yii messages Rate Topic: -----

#1 User is offline   Nayjest 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 85
  • Joined: 05-June 10
  • Location:Ukraine, Kiev

Posted 01 November 2010 - 07:16 AM

It would be nice to add posibility to redefine Yii messages by placing <yii>/framework/messages/<lang>/Yii.php (and other messages files) to <project>/protected/messages/<lang>/Yii.php

Maby Yii propose some posibilities to define project-specific version of system messages?

Posibility to define theme-specific messages would be very useful too.
Web-superman. My blog about web development (russian).
0

#2 User is offline   tri 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,651
  • Joined: 20-November 08
  • Location:Stockholm, Sweden

Posted 01 November 2010 - 07:34 AM

View PostNayjest, on 01 November 2010 - 07:16 AM, said:

It would be nice to add posibility to redefine Yii messages by placing <yii>/framework/messages/<lang>/Yii.php (and other messages files) to <project>/protected/messages/<lang>/Yii.php

Maby Yii propose some posibilities to define project-specific version of system messages?

Posibility to define theme-specific messages would be very useful too.


Is this what you are looking for?
http://www.yiiframew...-core-messages/

/Tommy
Don't forget to read The Definitive Guide to Yii (en) (sv) | The class reference has the details
1

#3 User is offline   Nayjest 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 85
  • Joined: 05-June 10
  • Location:Ukraine, Kiev

Posted 01 November 2010 - 07:39 AM

View Posttri, on 01 November 2010 - 07:34 AM, said:

Is this what you are looking for?
http://www.yiiframew...-core-messages/

/Tommy


Ooooh, thanx! It's right that I need.
Web-superman. My blog about web development (russian).
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