Skip to content

Commit 564a83c

Browse files
committed
readme
1 parent d0789c8 commit 564a83c

File tree

1 file changed

+43
-35
lines changed

1 file changed

+43
-35
lines changed

README.md

Lines changed: 43 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,35 @@
1-
<<<<<<< HEAD
21
# The Modern JavaScript Tutorial in Turkish
32

43
This repository hosts the translation of <https://javascript.info> in Turkish.
5-
=======
6-
# The Modern JavaScript Tutorial
74

8-
This repository hosts the English content of the Modern JavaScript Tutorial, published at [https://javascript.info](https://javascript.info).
9-
>>>>>>> 19223ae762f03cdff4e83f6f963f4f427af93847
105

11-
Please help us to make the translation better.
6+
**That's how you can contribute:**
127

138
- See the [Turkish Translate Progress](https://github.com/javascript-tutorial/tr.javascript.info/issues/1) issue.
149
- 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.
1613
- 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!**
1721

18-
<<<<<<< HEAD
1922
🎉 Thank you!
2023

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

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>.
2427

2528
## Structure
2629

2730
Every chapter, an article or a task resides in its own folder.
2831

2932
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
4333

4434
The folder has one of files:
4535

@@ -53,10 +43,16 @@ Additional resources and examples for the article or the task, are also in the s
5343

5444
## Translation Tips
5545

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.
5747

5848
If you see that the English version can be improved – great, please send a PR to it.
5949

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+
6056
### Text in Code Blocks
6157

6258
- Translate comments.
@@ -106,23 +102,35 @@ Example:
106102
[JavaScript](https://es.wikipedia.org/wiki/JavaScript) es un lenguaje de programación.
107103
```
108104

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.
110106

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

109+
### Metadata
113110

114-
## Running locally
111+
Some files, usually tasks, have YAML metadata at the top, delimited by `---`:
112+
113+
```md
114+
importance: 5
115115

116-
You can run the tutorial locally, to immediately see the changes on-site.
116+
---
117+
...
118+
```
117119

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).
122121

123-
It's very easy to add something new.
122+
### Anchors
124123

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

Comments
 (0)