Yii Framework Forum: Language Changing In Yii Application - Yii Framework Forum

Jump to content

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

Language Changing In Yii Application How to change language without database source message Rate Topic: -----

#1 User is offline   Muhammad Shahzad 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 48
  • Joined: 29-January 13
  • Location:Islamabad,Pakistan

Posted 31 December 2013 - 03:18 PM

Hello friends!

Is it possible to change language in yii application as google translator works?
0

#2 User is offline   PeRoChAk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 578
  • Joined: 26-November 10
  • Location:Lahore, Pakistan

Posted 01 January 2014 - 03:15 AM

Yes, you can change the language as google do. You can do this using Yii Translation i.e. Yii::t('variable','text');
Cheers
Perochak
Web Design - Logo Design - Application Development

My Blog | Forums Comparison
2

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