Michal Čihař - Localisation in PHP

Localisation in PHP

As you might already know, my website is available in English and Czech languages. I decided to use gettext, because it is easy to manage (when compared to strings which are used eg. in phpMyAdmin. However I sometimes see PHP to crash on localised pages and it randomly sends page in English even when Czech should be sent. I don't know how to fix and even how to debug this as this happens in few situations, which I'm not able to reproduce. So I'm really sorry if you sometimes see site unavailable errors, or you get different translation than you expected. Reload mostly works in such cases.

New Comment

You can not add new comments to old blog posts.