Hello,

new to cakephp, but a seasoned programmer - and then I encountered
i18n and p28n components in Cake ...
it's giving me a headache - and while researching the posts here, I
could not really find an answer - so I thought I'd post the conundrum
that lead to getting stuck

before pasting any code - I'll lay out the thinking part of it:

1. take a multiple language frontend (say, dut, eng, fre)
2. take a centralized backend - where all content dut, eng and fre in
frontend can be controlled
3. when logging in to the backend - the current session language
should not be determining the resultset from queries anymore; assuming
the backend is English, it is not enough to return only eng entries in
the i18n table; we need all results from the i18n table - eng, dut,
fre


the first question:
A. how can I make sure that all translations related to a record are
shown, in all languages, even while my session language is "eng"?

B. if we'd manage to do that - I'd still need a way of retrieving the
locale itself for that specific recordset
ex.
Name >> Frank  (not translated)
     Address ENG >> streetname;
     Address FRE >> nom de la rue;
     Address DUT >> straatnaam;
how can one retrieve the locale itself, which is associated with a
particular translation entry in the i18n table?
our example should be something like this, ideally:
ex.
Name >> Frank  (not translated)
     Address ENG >> streetname, locale >> ENG;
     Address FRE >> nom de la rue, locale >> FRE;
     Address DUT >> straatnaam, locale >> DUT;

I hope this is making some sense - I've been looking quite wide and
far, but could not come up with a solution that anyone else found, and
the documentation seems to lack the specific case layed out above
(multiple langs in frontend, one language in backend to control
frontend content)

if any could shed some light on this - that would be much appreciated!

thank you in advance!

greetings,
Frank





--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to