New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locale_get_display_name no longer translates in the locale specified by the 2nd parameter #8656
Comments
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)? |
I should have added: I am running PHP in a Docker container (the
Build the image:
And run it:
Regarding ICU versions:
(Checked that using |
ACK, followed the steps above:
|
Works for me even with ICU 71.1. I guess the the full data are not installed; try something like |
OK, the See https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split We can install Is this something that the PHP |
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. |
Description
The following code:
* with the
intl
extension installed(https://www.php.net/manual/en/locale.getdisplayname.php)
Resulted in this output:
But I expected this output instead:
This happens on PHP
8.1.6
while on8.1.5
the correct output (translated in the locale specified by the second argument) gets returned.PHP Version
PHP 8.1.6
Operating System
No response
The text was updated successfully, but these errors were encountered: