Skip to content

Commit eeacdbe

Browse files
committed
readme
1 parent aae89e8 commit eeacdbe

File tree

1 file changed

+55
-12
lines changed

1 file changed

+55
-12
lines changed

README.md

Lines changed: 55 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
1-
# The Modern JavaScript Tutorial in Portuguese (Brazil)
1+
# The Modern JavaScript Tutorial in Portuguese
22

3-
This repository hosts the translation of <https://javascript.info> in Portuguese (Brazil).
3+
This repository hosts the translation of <https://javascript.info> in Portuguese.
44

5-
Please help us to make the translation better.
5+
Articles can be in both Brazilian and European Portuguese. Translators are encouraged to write in a way that both regions understand.
66

7-
- See the [Portuguese (Brazil) Translate Progress](https://github.com/javascript-tutorial/pt-BR.javascript.info/issues/1) issue.
7+
**That's how you can contribute:**
8+
9+
- See the [Portuguese Translate Progress](https://github.com/javascript-tutorial/pt.javascript.info/issues/1) issue.
810
- Choose an unchecked article you'd like to translate.
9-
- Add a comment to that issue to inform the maintainer that you're translating it.
11+
- Add a comment with the article title to the issue, e.g. `An Introduction to JavaScript`.
12+
- Our bot will mark it in the issue, for everyone to know that you're translating it.
13+
- The comment should only contain the title.
1014
- Fork the repository, translate and send a PR when done.
15+
- PR title should match article title, the bot will write it's number into the issue.
16+
17+
If you're a maintainer, you can just translate and push, but please check articles as translated in the [issue](https://github.com/javascript-tutorial/pt.javascript.info/issues/1), for others to see that.
18+
19+
If you're just a newcomer, without write access to the repo, please kindly allow maintainers to review and merge your translation.
20+
21+
If something's unclear, feel free to ask, make an issue [here](https://github.com/javascript-tutorial/pt.javascript.info/issues/new) or in the [English repo](https://github.com/javascript-tutorial/en.javascript.info/issues/new).
22+
23+
**Let others know what you're translating, in message boards or chats in your language. Invite them to join!**
1124

1225
🎉 Thank you!
1326

1427
Your name and the contribution size will appear in the "About project" page when the translation gets published.
1528

16-
P.S. The full list of languages can be found at <https://github.com/javascript-tutorial/translate>.
29+
If you'd like to join as a maintainer, write us at <https://github.com/javascript-tutorial/en.javascript.info/issues/new>.
30+
31+
P.S. The full list of languages can be found at <https://javascript.info/translate>.
1732

1833
## Structure
1934

@@ -33,9 +48,15 @@ Additional resources and examples for the article or the task, are also in the s
3348

3449
## Translation Tips
3550

36-
- The translation doesn't have to be word-by-word precise. It should be technically correct and explain well.
37-
- If you see that the English version can be improved – great, please send a PR to it.
38-
- Please keep line breaks and paragraphs "as is": makes it easy to merge future changes from the English version into the translation.
51+
Please keep line breaks and paragraphs "as is": don't add newlines and don't remove existing ones. Makes it easy to merge future changes from the English version into the translation.
52+
53+
If you see that the English version can be improved – great, please send a PR to it.
54+
55+
### Terms
56+
57+
- Some specification terms are not to be translated, e.g. "Function Declaration" can be left "as is".
58+
- For other terms like `resolved promise`, `slash`, `regexp`, and so on look a good glossary, hopefully there's one for your language already.
59+
- If there's no dictionary, look for translations in manuals, such as [MDN](https://developer.mozilla.org/en-US/).
3960

4061
### Text in Code Blocks
4162

@@ -86,13 +107,35 @@ Example:
86107
[JavaScript](https://es.wikipedia.org/wiki/JavaScript) es un lenguaje de programación.
87108
```
88109

89-
For links to MDN, that are only partially translated, also use the language-specific version.
110+
For links to MDN, a partially translated version is ok.
90111

91112
If a linked article has no translated version, leave the link "as is".
92113

114+
### Metadata
115+
116+
Some files, usually tasks, have YAML metadata at the top, delimited by `---`:
117+
118+
```md
119+
importance: 5
120+
121+
---
122+
...
123+
```
124+
125+
Please don't translate "importance" (and other top metadata).
126+
127+
### Anchors
128+
129+
Some headers have `[#anchor]` at the end, e.g.
130+
131+
```md
132+
## Spread operator [#spread-operator]
133+
```
134+
135+
Please don't translate or remove the `[#...]` part, it's for URL anchors.
93136

94137
## Running locally
95138

96-
You can run the tutorial locally, to immediately see the changes on-site.
139+
You can run the tutorial server locally to see how the translation looks.
97140

98-
The server is at <https://github.com/javascript-tutorial/server>.
141+
The server and install instructions are at <https://github.com/javascript-tutorial/server>.

0 commit comments

Comments
 (0)