Hi, as many of you before, I'm trying to make gettext work with cakephp and I wanted to ask for advice. I'll number my questions for easy reading:
1. Is it worth the trouble trying gettext to work with cakephp 1.1.x? or is it better to just use 1.2 even though is not finished yet? 2. Some links I've found to potentially useful resources (AD7 code snippet and i18n tutorial on cakephp's wiki) are no longer valid, does anybody have working links or the actual documents, I'd really appreciate it. 3. What is the best way to add gettext to cakephp? (create locale controller, put code on appcontroller, create helper?) 4. I'm running some tests with gettext, doing all locale initialization on the view (yes I know, worse thing to do, but it's just for testing), and I'm getting weird results. At first I thought everything had worked fine, because the view I was testing got translated, but (don't ask me why) I reloaded the page several times really quickly and I got the default language instead of the localization. From there on if I reloaded normally I would the the default language all the time, but reloading several times really fast switches to the locale I hardcoded the view to display. So even though the behaviour seems really random to me, I can reproduce it, switching languages just by reloading very quickly. I was wondering if any of you has had any similar experiences before or could point me in the right direction to solving this issue. Thank you all very much for your time and help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
