developertools-tech / developertools-tech/developertools.tech

[Req]: [i18n] Plurals

Open
#124 2 comments 0 reactions 1 assignee Claimed by @ivanignatiev View on GitHub
feature request hacktoberfest in progress
Dominant language
TypeScript
Stars
41
Forks
44
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.