actually, in debug mode > 0, they are not cached
your "cached" persistant file gets rebuild every time


On 6 Aug., 13:57, "[email protected]" <[email protected]>
wrote:
> Hello everybuddy, this is my first post here in the groups.
> I am working with cakephp 1.2 and reading arountd I have realized that
> cake has a cache for the po files.
> I need to go over this cache because I am just in development fase and
> I need to see the changes
> I found different tips:
>
> -Restart Apache
> -Include one of this lines in config/core
>         Configure::write('Cache.disable', true);
>         Configure::write('Cache.disable', Configure::read('debug'));
> -Delete the files of app/tmp/cache/persistent
>
> I tried all of them and mi po files still keep cached. I am very shure
> that the multi-language solution is working well because I have
> different translations in my views from the po files but it just
> changes whenever i wants.
>
> I also found a trac telling me to add this in line 130 to cake/libs/
> i18n.php
>
> if (empty($_this->__domains) && Configure::read('debug') == 0) {
>
> I didn't try that one because I don't know where to put this if.
> There's a lot of if's in that function and dont understand where to
> put it.
>
> I would apreciate very much any information that can help me to
> disable this po files cache so I can try my translations.
>
> Thanks in advance
> Pablo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to