Yii Framework Forum: il8n - Yii Framework Forum

Jump to content

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

il8n folder structure for t()

#1 User is offline   newbiepav 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 30-August 11

Posted 19 September 2011 - 09:36 AM

Hi All,

I know that we can use the structure Classname.filename when we call t() in the view file as
Yii::t("Classname.filename",'message to translate')


but is it possible for me to do like this messages/fr/MyFolder/MySubFolder/filename


so that I can have Yii::t("Myfolder.MySubFolder.filename",'message to translate')
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