FEP-1970: name attribute.

Related to #113.
This commit is contained in:
John Livingston
2023-07-05 12:10:27 +02:00
parent f7e7cddf72
commit 3627ef25f6
3 changed files with 8 additions and 4 deletions

View File

@ -73,7 +73,8 @@ Now, you can simply call `peertubeHelpers.translate(LOC_USE_CHAT)` in your code.
### Use translations in back-end code
In theory, the only parts of the backend code where you need localization is the
settings declaration. Here we need to get english strings from the translation key.
settings declaration and standardized data (ActivityPub, RSS, ...).
Here we need to get english strings from the translation key.
Note: you should never need another language translation from backend code.
Localization must be done on front-end.