I have done everything you said but I still did not manage to add a
different language to an existing Post or Article.
I have setup a completely new cake app with just the i18n tables and
posts table in the database, baked the model, controllers and views. I
did not change anything regarding i18n stuff in controllers or views,
only added the $actsAs behaviour in the Post model.
When I add a new post the locale of it is "de_de" - because of the
language settings of my browser.
I switched the locale of my browser with a firefox plugin to "en_us"
and of course I don't see the post with the "de_de" locale I had added
right before.

Maybe you could send me a working code example and a dump of your
database?
I'm really curious about this, is this i18n stuff supposed to do what
I want to do it in the first place? I begin to doubt that.

On Jul 10, 10:41 pm, oleonav <[EMAIL PROTECTED]> wrote:
> Two tips:
> 1. Output the variables like this in your view <?php debug($this->data); ?> 
> it then should look more like the example I gave you.
>
> 2. Try using 'eng' instead of 'en' or don't set it at all. The array
> would be empty if data is there I guess, haven't tried this yet
> Also population of the translationsXXX arrays do not depend on setting
> the locale config or something like this. They will always be
> populated with all translations. I think???
>
> Success.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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