Skip to content

Commit 00a39f2

Browse files
authored
Merge branch 'keepandroidopen:main' into patch-1
2 parents b5829a8 + e70e0b3 commit 00a39f2

File tree

5 files changed

+614
-4
lines changed

5 files changed

+614
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ It aims to inform on the impacts on consumers, developers, states and coordinate
1919

2020
To provide a translation into a new language like Italian (language code: "it"):
2121

22-
1. [Edit the index.md](https://github.com/keepandroidopen/keepandroidopen.github.io/edit/main/index.md) in a fork and re-name the file "index-it.md"
23-
2. Translate the markdown headers and page content. The most important text is at the beginning; the lists of links do not all need to be translated.
22+
1. [Edit the `_layouts/default.html`](https://github.com/keepandroidopen/keepandroidopen.github.io/edit/main/_layouts/default.html) in a fork and update the language menu at the end with the new language code.
23+
2. Create a new top-level file `index-<langcode>.md` and add the translation of the English `index.md` file. Translate the markdown headers and page content. The most important text is at the beginning; the lists of links do not all need to be translated.
2424
3. Commit changes to your fork and file a Pull Request with your translation.
2525

2626
## License

_layouts/default.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,14 @@ <h1>{{ page.title }}</h1>
117117
<a href="/fr/">Français</a> |
118118
<a href="/de/">Deutsch</a> |
119119
<a href="/es/">Español</a> |
120+
<a href="/it/">Italiano</a> |
120121
<a href="/pt-BR/">Português</a> |
121122
<a href="/cs/">Čeština</a> |
122123
<a href="/sk/">Slovenčina</a> |
123124
<a href="/tr/">Türkçe</a> |
124-
<a href="/zh-TW/">正體中文</a> |
125125
<a href="/uk/">Українська</a> |
126-
<a href="/uk/">简体中文</a>
126+
<a href="/zh-CN/">简体中文</a> |
127+
<a href="/zh-TW/">正體中文</a>
127128
</div>
128129
{{ content }}
129130
</div>

0 commit comments

Comments
 (0)