Re: special i18n problem

2009-04-13 Thread donnerbeil
Thanks for your comments. I'll think about it. But I don't understand, what you mean with using views. The only way I think views are useful in this case is, that I check in a foreach loop if the contents country_id equals the given one and skip all other. Maybe that's a solution. I still think i

Re: special i18n problem

2009-04-07 Thread John Andersen
If I understand you correctly, then you have content that are not related to a specific country and you have country specific content. One thing is to use I10n to change the presentation language, the other is to change the content from non specific to country specific. In that case you may look

Re: special i18n problem

2009-04-07 Thread faza
If your database supports it, I'd suggest using views. It's much faster than re-filtering the results in Cake, especially that you can create views using SQL code on-the-fly. This way you could still use a single model but change the $uses value dynamically. (A theory, haven't tested it) Still, I

special i18n problem

2009-04-07 Thread donnerbeil
Hi, I have a community website. At the moment it's only in German, but I'm trying to get it international. Of course there are a lot of useful l10n and i18n classes in cake, but in my case I need something else. The content for each country is totally different. I don't need to have translated c