Yii Framework Forum: Multi-language CRUD - Yii Framework Forum

Jump to content

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

Multi-language CRUD Rate Topic: -----

#1 User is offline   Trakina 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 19-March 12
  • Location:Portugal

Posted 19 March 2012 - 03:02 PM

Hey guys, can anyone give me tips on how to design my database tables to enter multilingual content and how to setup my models and crud accordingly?
0

#2 User is offline   bettor 

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

Posted 20 March 2012 - 03:40 AM

there is lots of information on this topic in terms of extensions and forum posts. Here are some:

http://www.yiiframew...h-i18n-support/
http://www.yiiframew...extension/icrud
http://www.yiiframew...DbMessageSource

This should give you an idea.
0

#3 User is offline   Trakina 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 19-March 12
  • Location:Portugal

Posted 20 March 2012 - 05:12 AM

View Postbettor, on 20 March 2012 - 03:40 AM, said:

there is lots of information on this topic in terms of extensions and forum posts. Here are some:

http://www.yiiframew...h-i18n-support/
http://www.yiiframew...extension/icrud
http://www.yiiframew...DbMessageSource

This should give you an idea.


Thanks for the reply, but that's not really what I need.
I don't wish to translate messages, I wish to insert content in different languages.
0

#4 User is offline   bettor 

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

Posted 20 March 2012 - 05:44 AM

Then checkout the last link I have quoted above:

http://www.yiiframew...DbMessageSource
0

#5 User is offline   Trakina 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 19-March 12
  • Location:Portugal

Posted 20 March 2012 - 05:57 AM

View Postbettor, on 20 March 2012 - 05:44 AM, said:

Then checkout the last link I have quoted above:

http://www.yiiframew...DbMessageSource


Ok, that helps, but I was looking for a more elegant solution. But that is kind of what I need, thanks!
0

#6 User is offline   bettor 

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

Posted 20 March 2012 - 07:10 AM

Additionally, read this thread: http://www.yiiframew...lingual-models/ It should help you further in your development
0

#7 User is offline   deeptowncitizen 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 13-August 12

Posted 13 August 2012 - 06:21 PM

Have you found an elegant solution?
0

#8 User is offline   deeptowncitizen 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 13-August 12

Posted 14 August 2012 - 03:34 PM

try this solution: all-of.me/yii-multilingual-crud/
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