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 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 118
  • 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: 589
  • Joined: 26-November 10
  • Location:Sialkot, 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
Cheap Domain & Hosting - Web & App Design - Web Application Development

My Page
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