There's not really one single answer to that. It really depends on
your application. The basic approach is to use .po files, however,
this is not a great solution for dynamic text from the database. One
approach is to have a single table with translations for many types of
models. Another way -- if you're really, REALLY sure that you'll only
ever be supporting 2 languages -- is to have table columns for each
lang, eg. title_en, title_fr, etc.
Have a look online for "cakephp internationalization" for some ideas.
On Tue, Jul 3, 2012 at 10:24 AM, Shosho <shinsuio0012@gmail.com> wrote:
> How would you suggest I do it differently? I'm still pretty new to cake.
>
> --
> View this message in context: http://cakephp.1045679.n5.nabble.com/Completely-blank-screen-after-form-submission-tp5709166p5709256.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
> --
> Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Tuesday, July 3, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment