easy_localization
easy_localization copied to clipboard
Linked translations not working in Plurals
trafficstars
It seems that the linked translation is working find, but just not when using .plural(). Can someone please confirm this issue, or prove me wrong :pray:
Example
{
"round": "Round",
"rounds": "Rounds",
"bockTriggered": {
"zero": "No Bock @:round triggered",
"one": "Bock @:round triggered",
"two": "Bock @:rounds triggered",
"other": "Bock @:rounds triggered"
}
}
I have a similar issue
although I define the string like this
"join_ride_public_transport_changes": {
"one": "{} Umstieg",
"many": "{} Umstiege",
"other": "{} Umstiege",
"zero": "{} Umstiege"
},
and apply it like this
join_ride_public_transport_changes'.plural(changesList.length - 1)
I needed to also add "two" to the map though in my opinion this is misleading as I had thought that 2 are "many"
@jlnrrg I think your placeholder is wrong