PHP Externalization of Messages

As part of a project we are involved in there is a need for externalization of messages, both error and labels from the application into an external file.

From within Java, this is available as message and resource bundles, and the Spring framework smoothens this process.

In PHP this is another story, as the options are:

a) gettetxt –

b) Zend Translate –

Since this is not a very large application, we will be using ini files with the message keys encoded as english strings based on analysis at

I will see how that one proceeds along


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: