ActivityPub-federated video streaming platform using P2P directly in your web browser
Add singular/plural tip for translation
Chocobozzz26aef7c3fe5d
diff --git a/support/doc/translation.md b/support/doc/translation.mdindex 5267c3899f..58b52f5f80 100644--- a/support/doc/translation.md+++ b/support/doc/translation.md@@ -26,10 +26,25 @@ There are 4 files:## Tips+### Special tags+You must not translate special tags like `<x id="INTERPOLATION" ... />`.For example:```<x id="INTERPOLATION" equiv-text="{{ video.publishedAt | myFromNow }}"/> - <x id="INTERPOLATION_1" equiv-text="{{ video.views | myNumberFormatter }}"/> views```should be in french-```<x id="INTERPOLATION" equiv-text="{{ video.publishedAt | myFromNow }}"/> - <x id="INTERPOLATION_1" equiv-text="{{ video.views | myNumberFormatter }}"/> vues```\ No newline at end of file+```<x id="INTERPOLATION" equiv-text="{{ video.publishedAt | myFromNow }}"/> - <x id="INTERPOLATION_1" equiv-text="{{ video.views | myNumberFormatter }}"/> vues```+++### Singular/plural++For singular/plural translations, you must translate values inside `{` and `}`.++For example:++```{VAR_PLURAL, plural, =0 {No videos} =1 {1 video} other {<x id="INTERPOLATION" equiv-text="{{ playlist.videosLength }}"/> videos} }```++should be in french++```{VAR_PLURAL, plural, =0 {Aucune vidéos} =1 {1 vidéo} other {<x id="INTERPOLATION" equiv-text="{{ playlist.videosLength }}"/> vidéos} }```