Updated Guide for translators (markdown)

Luke Vella 2023-01-13 11:39:32 +00:00
parent fa04364534
commit 0733cc0328

@ -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).