__() wont work in a non-cake app, it's cake functionality. __() is just a custom function cake wrote that extends their i18n class. The i18n class deals with the loading of .po files and the extraction of message strings using gettext (I believe).
On Aug 30, 1:09 pm, dole doug <[email protected]> wrote: > hi there > > I have an old webapp on which i have to add i18n support. At this > moment I've added a __() around my messages which i need to be > translated and changed in my interface. > > I don't have great experience with cake or programming in OO but I'll > like to know the logic by which cakephp can offer i18n. I can do a > parser to extract all the strings which have to be translated(those > with __()). > > What do I have to do from that point? -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
