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
+43-35Lines changed: 43 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,45 +1,35 @@
1
-
<<<<<<< HEAD
2
1
# The Modern JavaScript Tutorial in Turkish
3
2
4
3
This repository hosts the translation of <https://javascript.info> in Turkish.
5
-
=======
6
-
# The Modern JavaScript Tutorial
7
4
8
-
This repository hosts the English content of the Modern JavaScript Tutorial, published at [https://javascript.info](https://javascript.info).
9
-
>>>>>>> 19223ae762f03cdff4e83f6f963f4f427af93847
10
5
11
-
Please help us to make the translation better.
6
+
**That's how you can contribute:**
12
7
13
8
- See the [Turkish Translate Progress](https://github.com/javascript-tutorial/tr.javascript.info/issues/1) issue.
14
9
- Choose an unchecked article you'd like to translate.
15
-
- Add a comment to that issue to inform the maintainer that you're translating it.
10
+
- Add a comment with the article title to the issue, e.g. `An Introduction to JavaScript`.
11
+
- Our bot will mark it in the issue, for everyone to know that you're translating it.
12
+
- Your comment should contain only the title.
16
13
- Fork the repository, translate and send a PR when done.
14
+
- PR title should match article title, the bot will write it's number into the issue.
15
+
16
+
Please kindly allow maintainers to review and merge or request changes in your translation.
17
+
18
+
If maintainers do not respond, or if you'd like to become a maintainer, write us at the [main repo](https://github.com/javascript-tutorial/en.javascript.info/issues/new).
19
+
20
+
**Let others know what you're translating, in message boards or chats in your language. Invite them to join!**
17
21
18
-
<<<<<<< HEAD
19
22
🎉 Thank you!
20
23
21
24
Your name and the contribution size will appear in the "About project" page when the translation gets published.
22
25
23
-
P.S. The full list of languages can be found at <https://github.com/javascript-tutorial/translate>.
26
+
P.S. The full list of languages can be found at <https://javascript.info/translate>.
24
27
25
28
## Structure
26
29
27
30
Every chapter, an article or a task resides in its own folder.
28
31
29
32
The folder is named `N-url`, where `N` – is the number for sorting (articles are ordered), and `url` is the URL-slug on the site.
30
-
=======
31
-
See <https://github.com/javascript-tutorial/translate> for the details.
32
-
33
-
## Contributions
34
-
35
-
We'd also like to collaborate on the tutorial with other people.
36
-
37
-
Something's wrong? A topic is missing? Explain it to people, add as PR 👏
38
-
39
-
**You can edit the text in any editor.** The tutorial uses enhanced "markdown" format, easy to grasp. And if you want to see how it looks on-site, there's a server to run the tutorial locally at <https://github.com/javascript-tutorial/server>.
40
-
41
-
The list of contributors is available at <https://javascript.info/about#contributors>.
42
-
>>>>>>> 19223ae762f03cdff4e83f6f963f4f427af93847
43
33
44
34
The folder has one of files:
45
35
@@ -53,10 +43,16 @@ Additional resources and examples for the article or the task, are also in the s
53
43
54
44
## Translation Tips
55
45
56
-
The translation doesn't have to be word-by-word precise. It should be technically correct and explain well.
46
+
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.
57
47
58
48
If you see that the English version can be improved – great, please send a PR to it.
59
49
50
+
### Terms
51
+
52
+
- Some specification terms are not to be translated, e.g. "Function Declaration" can be left "as is".
53
+
- For other terms like `resolved promise`, `slash`, `regexp`, and so on look a good glossary, hopefully there's one for your language already.
54
+
- If there's no dictionary, look for translations in manuals, such as [MDN](https://developer.mozilla.org/en-US/).
55
+
60
56
### Text in Code Blocks
61
57
62
58
- Translate comments.
@@ -106,23 +102,35 @@ Example:
106
102
[JavaScript](https://es.wikipedia.org/wiki/JavaScript) es un lenguaje de programación.
107
103
```
108
104
109
-
For links to MDN, that are only partially translated, also use the language-specific version.
105
+
For links to MDN, a partially translated version is ok.
110
106
111
107
If a linked article has no translated version, leave the link "as is".
112
108
109
+
### Metadata
113
110
114
-
## Running locally
111
+
Some files, usually tasks, have YAML metadata at the top, delimited by `---`:
112
+
113
+
```md
114
+
importance: 5
115
115
116
-
You can run the tutorial locally, to immediately see the changes on-site.
116
+
---
117
+
...
118
+
```
117
119
118
-
<<<<<<< HEAD
119
-
The server is at <https://github.com/javascript-tutorial/server>.
120
-
=======
121
-
Each of these files starts from the `# Main header`.
120
+
Please don't translate "importance" (and other top metadata).
122
121
123
-
It's very easy to add something new.
122
+
### Anchors
124
123
125
-
---
126
-
💓
127
-
Ilya Kantor @iliakan
128
-
>>>>>>> 19223ae762f03cdff4e83f6f963f4f427af93847
124
+
Some headers have `[#anchor]` at the end, e.g.
125
+
126
+
```md
127
+
## Spread operator [#spread-operator]
128
+
```
129
+
130
+
Please don't translate or remove the `[#...]` part, it's for URL anchors.
131
+
132
+
## Running locally
133
+
134
+
You can run the tutorial server locally to see how the translation looks.
135
+
136
+
The server and install instructions are at <https://github.com/javascript-tutorial/server>.
0 commit comments