You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
locale_get_display_name no longer translates in the locale specified by the 2nd parameter #8656
I should have added: I am running PHP in a Docker container (the cli-alpine version) and using mlocati/php-extension-installer to install the intl extension.
Works for me even with ICU 71.1. I guess the the full data are not installed; try something like apk del icu-data-en && apk add icu-data-full. Would that solve the issue for you?
Reacted by David DIVERRES, Julien Wadin, mightyplow and Cyril VERLOOP
Activity
cmb69 commentedon May 30, 2022
I cannot reproduce that; neither with ICU 68.2 nor with ICO 70.1. Do you use different ICU versions with your PHP 8.1.5 and 8.1.6? Which one(s)?
gdejong commentedon May 30, 2022
I should have added: I am running PHP in a Docker container (the
cli-alpineversion) and usingmlocati/php-extension-installerto install theintlextension.docker-compose.yml:Dockerfile:test.phpBuild the image:
And run it:
Regarding ICU versions:
php:8.1.6-cli-alpineis using71.1php:8.1.5-cli-alpineis using69.1(Checked that using
docker-compose run --rm php php --re intl 2>&1 | grep INTL_ICU_VERSION)saundefined commentedon May 30, 2022
ACK, followed the steps above:
cmb69 commentedon May 30, 2022
Works for me even with ICU 71.1. I guess the the full data are not installed; try something like
apk del icu-data-en && apk add icu-data-full. Would that solve the issue for you?gdejong commentedon May 30, 2022
OK, the
php:8.1.6-cli-alpineimage uses Alpine Linux3.16.0(cat /etc/alpine-release) and they have split the ICU package in two.See https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
We can install
icu-data-fullin our own build process as a workaround.Is this something that the PHP
alpineDocker images would want to include by default?cmb69 commentedon May 30, 2022
Thanks for checking and reporting back!
You need to ask the provider of these packages (whoever that is) about that.
Anyhow, not a bug in php-src.