LoginSignup
4
3

More than 5 years have passed since last update.

CakePHPで多言語対応ファイルの更新が反映されない時の対処法

Posted at

app/tmp/cache/persistentにあるファイルを削除すると多言語ファイルの変更が反映されます。

リリース時とかに要注意かな。

あと、多言語対応でpoeditとかでpoファイルを編集してmoファイルができてるときは、poよりmoが優先する。

優先順位的には、キャッシュ→moファイル→poファイル という順みたい。

試しにmoファイル削除したらpoファイルだけでもちゃんと動作してくれたので、開発中はmoファイル削除して作業した方が楽かもね。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3