developertools-tech / developertools-tech/developertools.tech

[Req]: [i18n] Plurals

Offen
#124 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @ivanignatiev Auf GitHub ansehen
feature request hacktoberfest in progress
Vorherrschende Sprache
TypeScript
Sterne
41
Forks
44
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Contact Details

_No response_

### Explain the proposed feature

That is not critical but some words require to use [i18n plurals](https: //www.i18next.com/translation-function/plurals), so `t` calls need to be improved, i.e. for `t('across`)`:

```
...
"across_one": "{{count}} Розтин",
"across_two": "{{count}} Розтину",
"across_few": "{{count}} Розтинів",
"across_many": "{{count}} Розтинів",
"across_other": "{{count}} Розтинів",
...
t('across`, { count: c })
```

I prefer to create a separate issue as it will require more difficult review than just adding a language.

### Explain the possible use cases for the feature

_No response_

### Any other details you would like to provide?

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.