Skip to content

heroku/heroku-buildpack-locale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 heroku-community/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