mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
Updated Guide for translators (markdown)
parent
fa04364534
commit
0733cc0328
1 changed files with 21 additions and 1 deletions
|
@ -81,6 +81,26 @@ The tags should remain wrapped around the same content and should not be transla
|
|||
✅ Gehen Sie zur <a>Seite</a>
|
||||
```
|
||||
|
||||
### Not sure? Ask!
|
||||
### Plurals
|
||||
|
||||
If you see a translation that contains a `{{count}}` variable, that is called a plural. To get the correct translation in your language, pay attention to the suffix of the translation key. The suffix `_one` or `_other` describes the value of `{{count}}` for that particular translation.
|
||||
|
||||
```
|
||||
"participantCount_one": "{{count}} participant
|
||||
"participantCount_other": "{{count}} participants
|
||||
```
|
||||
|
||||
Other possible suffixes you might encounter are `_zero`, `_two`, `_few`, and `_many`. Even if your language doesn't require different definitions for all these keys, you should still repeat the correct translation that best describes that value.
|
||||
|
||||
```
|
||||
"participantCount_zero": "{{count}} participants
|
||||
"participantCount_one": "{{count}} participant
|
||||
"participantCount_two": "{{count}} participants
|
||||
"participantCount_few": "{{count}} participants
|
||||
"participantCount_many": "{{count}} participants
|
||||
"participantCount_other": "{{count}} participants
|
||||
```
|
||||
|
||||
### Questions?
|
||||
|
||||
Some translations can be tricky without any context. If you're uncertain about something, please ask in the [discord chat](https://discord.gg/uzg4ZcHbuM).
|
Loading…
Add table
Reference in a new issue