Laravel Version
v12.48.1
PHP Version
8.4.14
Database Driver & Version
No response
Description
trans_choice no longer matches ranges that starts with *, for example [*,-1]
This worked in the previous versions; it is not specifically mentioned in the docs, but it has been working for around 5 years
I guess that it is this change: #58367
Steps To Reproduce
- Have the following translation string:
'[*,-1] :diff less than last week|{0} the same|[1,*] :diff more than last week'
- Use the translation with a negative value in
trans_choice for example -3
- You will see the 0-case being used ("the same") and not the case that should include all negative values