Friday, January 22, 2010

Re: Change default language on the fly in a view

Hi Thomaus,

I have some questions! When you write that the content is french, do
you mean the data or the static text?
Are you using .po files or i18n in the database?

If I had to solve it only for the static text, then I would just use a
specific .po file for that and use the __d() function for reading from
the .po file.

Enjoy,
John

On Jan 22, 3:32 pm, thomaus <tho...@saimiris.com> wrote:
> Nobody no clue?
>
> On Jan 20, 4:38 pm, thomaus <tho...@saimiris.com> wrote:
>
> > Hi,
>
> > I made an multilingual app which works nice but now I would need to
> > change the language but only in a given <div> of my view. Is this
> > possible and how?
>
> > Means that my content page would be like that:
>
> > English Header
>
> > English Title
>
> > Some English Content
>
> > Some French Content
>
> > Some English Content again
>
> > English Footer

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: