Yep. Quick and dirty is good. I've just done that on my current project for the very reason you stated.
On Jun 11, 3:06 pm, Filip Camerman <[EMAIL PROTECTED]> wrote: > If it's only one field and you're not gonna have a 100 languages, then > the easiest way is to put extra columns in the same table, e.g.: > > id > name > address > shipping_terms_en > shipping_terms_fr > shipping_terms_de > shipping_terms_nl > ... > > then make a function that returns the correct language suffix, e.g. > langsuffix(), and just refer to the field as > $userdata['shipping_terms_'.langsuffix()] > > That's the quick and dirty way to do it, but in such a simple case > also the best way imo. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
