That's the answer, thank you for your advice. Tomek
2010/12/4 Richtermeister <[email protected]>: > Hey Tomasz, > > this is normal - you have to tell Propel to also hydrate the I18N > classes via: > (example) CategoryQuery::create() -> joinWith('CategoryI18N') -> > find(); > > I usually create a "withI18N" method on the internationalized query > classes for convenience. > Works like a charm and reduces everything down to one query. > > Daniel > > > On Dec 3, 1:23 am, Tomasz Fertacz <[email protected]> wrote: >> Question is how to use i18n with sfPropel15Plugin. Because when I use >> standard not ClassNameI18NQuery but ClassNameQuery class, after I'm >> calling object it queries database for i18n attributes, so when i >> query 100 objects, it queries 100 times. Should it be like this? Am I >> doing something wrong? >> >> Tomek > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" 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/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en
