artefactual / artefactual/atom

Problem: plural forms for strings

Open
#1,827 0 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
PHP
Stars
297
Forks
152
Avg merge
1d 8h
Merged PRs (30d)
3

Description

### Current Behavior

**Steps to reproduce the behavior**
Currently ther are separate strings for the "singular" and the "plural" strings.
Examples:
1.
`%{smart_count} file selected`
`%{smart_count} files selected`
2.
`%{complete} of %{smart_count} file uploaded`
`%{complete} of %{smart_count} files uploaded`

### Expected Behavior

Strings which need "plural" forms should be set as one source string with language dependent "plural" forms. Many languages need more than just one plural form (for instance Croatian, Slovenian, etc.)

### Possible Solution

_No response_

### Context and Notes

_No response_

### Version used

_No response_

### Operating System and version

_No response_

### Default installation culture

_No response_

### PHP version

_No response_

### Contact details

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue does not name any files, tests, or entry points. Start by locating where singular and plural strings are currently defined and selected, then determine how one source string could express language-dependent plural forms; done means supporting languages that require more than two forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
internationalization, localization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.