CakePHP cache i18n translate

前端 未结 3 1198
日久生厌
日久生厌 2021-01-12 07:45

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.

3条回答
  •  無奈伤痛
    2021-01-12 08:39

    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.

提交回复
热议问题