Re: multilingual app

2009-06-30 Thread floorball92

Hi!

I know this behavior, but I'm currently not sure, if I maybe will
create the site so, that their isn't a list of specific languages, but
that everyone can wirte in every language he prefers.

So this won't work :-(

Best Regards, Sebastian
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



multilingual app

2009-06-28 Thread floorball92

Hi,

I plan a project with a special i18n implimentation.

Their won' t be a default language, their are records witch every user
can access unattached of his language. But each record can have
informations individual of the language. I give a sample.

Main Table:

id: 1
name: BMW

Translation Table:

id:1
foreigne_key: 1
locale: eng
about: BMW is a german car producer

id: 2
foreigne_key: 1
locale: deu
about: BMW ist ein deutscher Autohersteller

A search Result for find() on this Table should return:

Car
- id: 1
- name: BMW
Translation
- 1
- - locale: eng
- - about: BMW is a german car producer
- 2
- - locale: deu
- - about: BMW ist ein deutscher Autohersteller

If I have a Main record without Translations, I want the main record
to be retrieved and the Translation array should be empty.

When I'm right, this isn't directly able with Translate behavior...

Does anyone know, how to solve this?

Best regards, Sebastian

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