Re: PHP extension 'gettext' doesn't work?

Jack Cai

This is a great list of languages to support. May I ask to add ar (Arabic)
and iw (Hebrew) to the list? These two are considered "Group 2" languages
in the company I work for. With them added, all Group 1 and Group 2
languages will be included in the list, which is a confirmation that we
have a good list.


On Mon, Nov 2, 2015 at 4:41 PM, JT Archie <jarchie(a)> wrote:

We've added support for some locales into the rootfs. There are quite a
few locales, of which we don't know if we need to officially support them.
Our current list, is from a consumer level list of *most used* locales.

Please feel free to review this commit
We've made it explicit what locales are supported.

With these changes, we've been able to make the PHP `gettext` extension
work with the example. It has been added to our test suite
for future support.

Let us know if you need anything else.

Kind Regards,


On Fri, Oct 30, 2015 at 1:41 PM, Mike Dalessio <mdalessio(a)>

Unfortunately, the apt-buildpack only works for installing staging-time
dependencies, and not runtime dependencies.

It could be made to work, but the core buildpacks team simply have not
done so because nobody has asked (yet). ;)

On Fri, Oct 30, 2015 at 1:37 PM, Guillaume Berche <bercheg(a)>

I agree the inclusion of the lang pack into linuxfs2 seems best option.

I'm wondering though whether a temporary workaround could be to install
the "locales" debian package using apt-buildpack [1] (no sudo needed) and
combine it with php buildpack using the multi buildpack [2] ? I was
planning to test that for another purpose but had not the chance yet. I'm
interested in hearing the outcome.



Le 27 oct. 2015 02:41, "Hiroaki Ukaji" <dt3snow.w(a)> a écrit :


Thanks to you, I understood why i18n by gettext didn't work on CF.
Certainly, the language pack "ja_JP.utf8" only exists in my local

Anyway, we're glad to hear that the debian package "locales" will be
to the rootfs.
It will resolve this issue and then we will be able to manage i18n by
gettext extension on CF.

Thanks a lot.

Hiroaki UKAJI

View this message in context:
Sent from the CF Dev mailing list archive at

Join to automatically receive all group messages.