X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Ftranslation.md;h=58b52f5f80316d4c6e6c3c452e0835177f1871d6;hb=076d3ace1e89c9f7083f37e654f837801c891503;hp=5267c3899f12db29c06f99b3e00d703e3fdf0c61;hpb=956888ac4267d373e09f98c8791e4596074b98a9;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/translation.md b/support/doc/translation.md index 5267c3899..58b52f5f8 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 ``. For example: ``` - views``` should be in french -``` - vues``` \ No newline at end of file +``` - 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 { videos} }``` + +should be in french + +```{VAR_PLURAL, plural, =0 {Aucune vidéos} =1 {1 vidéo} other { vidéos} }```