goinnn / heroku-buildpack-locale

Install language packs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locale Buildpack

In order to reduce the stack image size, the heroku 16 stack doesn't include language packs by default.
You may still want to use a custom language pack though.

Installation

heroku buildpacks:add https://github.com/heroku/heroku-buildpack-locale

Configuration

Create a .locales file at your app's root, with all the locales you need. Example:

de_DE
fr_FR

Commit that file and trigger a new build. The specified locales will be installed by the buildpack.

Hacking

You can test this buildpack in a local docker container with the following command:

make compile

Then, to connect to the container:

docker-compose run test bash

About

Install language packs

License:MIT License


Languages

Language:Shell 79.5%Language:Makefile 14.6%Language:Dockerfile 6.0%