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.
heroku buildpacks:add https://github.com/heroku/heroku-buildpack-locale
.locales file at your app's root, with all the locales you need. Example:
Commit that file and trigger a new build. The specified locales will be installed by the buildpack.
You can test this buildpack in a local docker container with the following command:
Then, to connect to the container:
docker-compose run test bash
Copy the snippet above into CLI.