1
0
Fork 0

Add tips in translation doc

This commit is contained in:
Chocobozzz 2018-06-27 08:28:43 +02:00
parent 85b4d9c52e
commit 7b034aeda8
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 10 additions and 0 deletions

View File

@ -23,3 +23,13 @@ There are 4 files:
* **server**: contains server strings (privacies, licences...) * **server**: contains server strings (privacies, licences...)
* **iso639**: contains iso639 (languages) strings used by PeerTube to describe the audio language of a particular video. * **iso639**: contains iso639 (languages) strings used by PeerTube to describe the audio language of a particular video.
It's the reason why these strings should be translated too. There are many strings so do not hesitate to translate only main audio languages. It's the reason why these strings should be translated too. There are many strings so do not hesitate to translate only main audio languages.
## Tips
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```