Skip to content

[5.4] Plurals of many languages has been missed #17816

Closed
@cjmaxik

Description

@cjmaxik
  • Laravel Version: 5.4.*

Description:

Since PR #15563 was introduced, Laravel has been missed a major feature for translators - plurals. While English and other langs with one|many plural scheme is working great, another languages (like Russian with more complex plural scheme) is broken right now.

Steps To Reproduce:

English locale

'apples' => ':count apple|:count apples',

1 apple | 2 apples | 24 apples | 2657 apples

Russian locale

'apples' => ':count яблоко|:count яблока|:count яблок',

Should be 1 яблоко | 2 яблока | 24 яблока | 2657 яблок
Returns 1 яблоко | 2 яблока | 24 яблока | 2657 яблока

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions