Thanks for your reply.. I am entering only english text.
and i want site also with arabic text. My Product Model: class Product extends AppModel{ var $name = 'Product'; //var $actsAs = array('Tree'); var $actsAs = array( 'Translate'=>array( 'name', 'short_desc', 'long_desc', 'features', 'specification' ) ); var $locale = 'ara'; // for arabic } My Product Controller: <?php class ProductsController extends AppController{ var $name = 'Products'; function add($category_id = null){ if(!empty($this->data)){ $this->Product->create(); $this->Product->save($this->data); } } } ?> I am entering only english texts. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---