You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+55-12Lines changed: 55 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,34 @@
1
-
# The Modern JavaScript Tutorial in Portuguese (Brazil)
1
+
# The Modern JavaScript Tutorial in Portuguese
2
2
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.
4
4
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.
6
6
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.
8
10
- 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.
10
14
- 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!**
11
24
12
25
🎉 Thank you!
13
26
14
27
Your name and the contribution size will appear in the "About project" page when the translation gets published.
15
28
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>.
17
32
18
33
## Structure
19
34
@@ -33,9 +48,15 @@ Additional resources and examples for the article or the task, are also in the s
33
48
34
49
## Translation Tips
35
50
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/).
39
60
40
61
### Text in Code Blocks
41
62
@@ -86,13 +107,35 @@ Example:
86
107
[JavaScript](https://es.wikipedia.org/wiki/JavaScript) es un lenguaje de programación.
87
108
```
88
109
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.
90
111
91
112
If a linked article has no translated version, leave the link "as is".
92
113
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.
93
136
94
137
## Running locally
95
138
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.
97
140
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