Search Issue Tracker

Active

Under Consideration for 1.5.X

Votes

0

Found in [Package]

1.5.7

Issue ID

LOC-1258

Regression

No

Negative values are not supported when using plural formatter

Package: Localization Package

-

How to reproduce:
1. Open the attached project "IN-116638"
2. Open the scene "EmptyScene"
3. Enter Play Mode
4. Select the "TextLabel" GameObject in the Hierarchy
5. Try out different values (“1”, “-1”, “2”, “-2”, “5”, “-5”) in the "Localize String Event" component while observing the Game View
6. Switch to Russian locale (Window > Asset Management > Localization Scene Controls) and repeat step 5

Expected result: Plural formatting is applied to negative numbers correctly, e. g. -1 is -1 apple
Actual result: Plural formatting is applied to singular negative numbers, e. g. -1 is -1 apples

Reproducible with: 1.4.3 (2023.2.0a16), 1.5.7 (2023.2.0a16, 6000.0.58f1, 6000.2.6f1, 6000.3.0b3, 6000.4.0a1)

Reproducible on: Windows 11 Pro (24H2)
Not reproducible on: No other environments tested

Note: Using the fix toggle will apply a fix that persists across runs

Add comment

Log in to post comment