hi, we're building a cakephp application where we need (beside normal l10n functionality for static site texts) the possibility to store and display database fields according to users language
E.g. customers should be able to store their shipping terms in several languages. According to wich language a site user is logged in these terms should be displayed. Because we don't know how many languages a user needs I thought about creating a language table to every table that holds user texts. The normal table always only holds the base language. So let's say theres the user table 'userdata' with fields id name address shipping_terms and the language table 'userdata_lng' with id (same id as in base table) language (language code) shipping_terms (translated text) So how do I make my application with least programmming effort to store and display the fields according to user language? We thought about putting the logic into the model to be able to use normal save/retrieve controller methods but that would mean to overwrite every single retrieve/save method right? Is there mayba a simpler or more elegant solution to the problem? ;) Thanks in advance! Cheers Ralf --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
