Translation Style Guide
Each language translation may have some specific ways it differs from the advice Gatsby provides for writing in English, such as the use of “you” as the pronoun or the Oxford comma. Each translation group should decide on conventions and stick with them for consistency, documenting those decisions in the repo’s style guide file to set contributors up for success. Use the English style guide as a reference to determine the equivalent rules in your language.
Guidelines that remain firm no matter the language stem from the goals and values of Gatsby as a project: to provide a friendly community for Gatsby learners of all skill and experience levels that’s also safe and welcoming to contributors. Translated docs and learning materials should maintain these values with high-quality spelling and grammar, accurate information, similar structure and purpose. For any questions about guidelines, feel free to get in touch with the Gatsby team.
The following rules should apply in all translations and can serve as a basis for your language-specific style guide.
Keep the meaning of the original English source even if it is confusing or has a typo. If you find an error that can be fixed, create an issue or pull request to the original gatsby repo so that all translations can benefit from the change.
Use soft line wraps for paragraphs:
Using soft line wraps ensures that paragraphs are always matched with the original source paragraphs when syncing, and prevents weird errors with mismatched lines.
Leave text in code blocks untranslated except for comments. You may optionally translate text in strings, but be careful not to translate strings that refer to code!
✅ ALSO OKAY:
❌ DEFINITELY DON’T:
Translate link text but keep all slugs and hashes in links the same as they are in English.
For links that have no equivalent (Stack Overflow, YouTube videos, etc.), use the English link.