> I was reading the tutorial about how to integrate l10n and i18n > functionalities in cakePhp 1.2 and was ok with that.The problem is > what if I just want to translate a static page like an about us page > or a FAQ page.Do I have to segment each paragraph in a string to be > localised in the default.po file ? > I am sure there is simple way of handling that,can somebody direct me > into it please ?
The answer is yes - you would have to segment the entire page so that you could add it to your translation file. A more elegant (but also slower) solution is probably to have your text stored in a db and using the translation behavior. Another approach would be to have multiple .ctp files and then use routing to dynamically switch between the correct languages. I haven't tried this one and would also be interested to hear an elegant solution! Cheers, tobi_one --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
