Alex Rivera | Logout

CakePHP cache i18n translate

Asked 2012-11-22T18:54:55.247
8

When I forget to translate something, somewhere Project VIEW, I change the file /app/Locale/por/LC_MESSAGES/default.po and sending it back to the server.

But mostly, this 'new translation', takes HOURS to be viewed, in short: I just send the file, cleaned the cache and browser CakePHP, press F5, and ... NOTHING HAPPENS.

For what reason?

[EDIT]

<?php echo $this->Form->input('Item.0.description', array('label' => false, 
'class' => 'span12', 'div' => array('class' => 'span7'), 'rows' => 3,
'placeholder' => __('Type the description'))); ?>
Edit
Report

1 Answer

2

I found a strange solution:

I set (app/Config/core.php)...

Configure::write('debug', 2); // It was 0

Press, F5... wait... and works. Later, I back...

    Configure::write('debug', 0);

Press F5 again, and works.

Why? I no have idea.

answered 2012-11-22T19:27:26.450

Your Answer