Hi,

Have you read the documentation for which I had given you the links? From
your question, it seems that you are not following the CakePHP way to store
multi-lingual data in database.

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Thu, Nov 25, 2010 at 3:15 PM, hoss7 <[email protected]> wrote:

> if i want use http://localhost/en/post/index what i am must to do?
>
> and you say :        $data = $this->Post->find('all');
> in post table i must have example : lang_type and if user select this
> url i must load all post content with lang_type='en' is this code
> work?
> and how can i change all links,for example:
> my default  language is :en
> and when user select this link www.example.com/fr i want all link
> change to this www.example.com/fr/post and www.example.com/fr/image
> and when user select www.example.com all link www.example.com//post
> and www.example.com/image with default language
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to