Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dev:translators [2022/07/14 16:10] – [Contributing Translators] abejellinek | dev:translators [2023/08/18 09:15] (current) – [Recommendations for Translator Authors] Add one advice about not modifying the live document. zoe | ||
---|---|---|---|
Line 112: | Line 112: | ||
- '' | - '' | ||
- Make detect functions lightweight-- they may be run on pages that a user is not even considering saving. Detect functions should not need to make additional HTTP requests. This obviously runs counter to the preceding point-- find a happy medium. | - Make detect functions lightweight-- they may be run on pages that a user is not even considering saving. Detect functions should not need to make additional HTTP requests. This obviously runs counter to the preceding point-- find a happy medium. | ||
+ | - When translating the web page in the browser, do not modify any part of its DOM. | ||
- Minimize HTTP requests. More HTTP requests slow down the user, cause undue load on servers, risk getting the user rate-limited or blocked, and in general are bad. | - Minimize HTTP requests. More HTTP requests slow down the user, cause undue load on servers, risk getting the user rate-limited or blocked, and in general are bad. | ||
- Don't leak user data. HTTP requests should in general not be directed to 3rd-party hosts. | - Don't leak user data. HTTP requests should in general not be directed to 3rd-party hosts. |