Try this link: http://tinyurl.com/4w3d49 (p28n, the top to bottom persistent internationalization tutorial.) That's what I used.
Switching languages can be awkward, depending on how and where you're doing it. I'm looking out some examples for you - might be a little while though as I'm working on something else. The po error rings a bell. Are you using poedit? It was over a year ago, but I had a similar problem and I think I had to trawl through the file and clean it up by hand. Have a look at http://univerd.com for a working example. If you then have any specific questions I can then give you some sanitized code fragments. L On 27 July, 11:42, Yannis <[email protected]> wrote: > Hi guys, > > I have been struggling to make my small cakephp cms multilingual. > I have been reading loads of articles on the net but nothing seems to > work 100% > Could someone please direct me to a "correct" study path, a book, an > article a tutorial, a hint or a clue > that could generate some results. > > - I have set up my database with an i18n table and I have managed to > set the default language on the > core.php. > - I have also managed to switch the url to include the language > extension at the beginning > (although I'm still trying to make it redirect to the current page > when changed) > - I'm lacking a method to change languages so that the database can > fetch the direct translations > and also I cannot properly set up cakephp to read the po file (the po > generates an error when saving as well although it seems to keep the > changes) > > Anyone please help. I'm willing to buy any book that may contain the > solution (although I think I have all 3? books > that have been written for cakephp) > > Thanks > Yannis --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
