Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat - Initial translated into Bahasa Indonesia #1535

Merged
merged 10 commits into from
Jul 12, 2024
3 changes: 2 additions & 1 deletion .github/workflows/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 'es/**'
- 'fr/**'
- 'it/**'
- 'id/**'
- 'ja/**'
- 'ko/**'
- 'pt-br/**'
Expand Down Expand Up @@ -37,7 +38,7 @@ jobs:
uses: actions/github-script@v5
with:
script: |
const languages = ['en', 'es', 'fr', 'it', 'ja', 'ko', 'pt-br', 'ru', 'sk', 'th', 'tr', 'uk', 'uz', 'zh-cn', 'zh-tw'];
const languages = ['en', 'es', 'fr', 'it', 'id', 'ja', 'ko', 'pt-br', 'ru', 'sk', 'th', 'tr', 'uk', 'uz', 'zh-cn', 'zh-tw'];
const prNumber = context.eventName === 'workflow_dispatch' ? context.payload.inputs.prNumber : context.issue.number;
const { data: pullRequest } = await github.rest.pulls.get({
owner: context.repo.owner,
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The documentation is translated into these languages:
- Spanish (`es`)
- French (`fr`)
- Italian (`it`)
- Indonesian (`id`)
- Japanese (`ja`)
- Korean (`ko`)
- Brazilian Portuguese (`pt-br`)
Expand Down
8 changes: 8 additions & 0 deletions _includes/announcement/announcement-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<ul>
<li>
<p class="announcement-title">Dokumentasi Express 5.0 versi beta kini telah tersedia.</p>
<p markdown="1">
<a href="{{ page.lang }}/5x/api.html">Dokumentasi API</a> beta masih dalam proses. Untuk informasi tentang apa yang ada dalam rilis, lihat <a href="https://github.com/expressjs/express/blob/5.0/History.md">riwayat rilis</a> Express.
</p>
</li>
</ul>
2 changes: 1 addition & 1 deletion _includes/footer/footer-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Documentation translations provided by StrongLoop/IBM:
<a href="/fr/">French</a>, <a href="/de/">German</a>, <a href="/es/">Spanish</a>, <a href="/it/">Italian</a>, <a href="/ja/">Japanese</a>, <a href="/ru/">Russian</a>, <a href="/zh-cn/">Chinese</a>, <a href="/zh-tw/">Traditional Chinese</a>, <a href="/ko/">Korean</a>, <a href="/pt-br/">Portuguese</a>.
<br>
Community translation available for: <a href="/sk/">Slovak</a>, <a href="/uk/">Ukrainian</a>, <a href="/uz/">Uzbek</a>, <a href="/tr/">Turkish</a> and <a href="/th/">Thai</a>.
Community translation available for: <a href="/sk/">Slovak</a>, <a href="/uk/">Ukrainian</a>, <a href="/uz/">Uzbek</a>, <a href="/tr/">Turkish</a>, <a href="/th/">Thai</a> and <a href="/id/">Indonesian</a>.
</section>
<div id="footer-content">
<div>
Expand Down
30 changes: 30 additions & 0 deletions _includes/footer/footer-id.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<a id="top" href="#"><img src="/images/arrow.png"></a>

<footer>
<section id="doc-langs">
Dokumentasi versi terjemahan yang disediakan oleh StrongLoop/IBM:
<a href="/fr/">French</a>, <a href="/de/">German</a>, <a href="/es/">Spanish</a>, <a href="/it/">Italian</a>, <a href="/ja/">Japanese</a>, <a href="/ru/">Russian</a>, <a href="/zh-cn/">Chinese</a>, <a href="/zh-tw/">Traditional Chinese</a>, <a href="/ko/">Korean</a>, <a href="/pt-br/">Portuguese</a>.
<br>
Terjemahan oleh komunitas tersedia untuk: <a href="/sk/">Slovak</a>, <a href="/uk/">Ukrainian</a>, <a href="/uz/">Uzbek</a>, <a href="/tr/">Turkish</a>, <a href="/th/">Thai</a> dan <a href="/id/">Bahasa Indonesia</a>.
</section>
<div id="footer-content">
<div>
<a href="https://www.netlify.com">
<img src="https://www.netlify.com/v3/img/components/netlify-color-accent.svg" alt="Preview Deploys by Netlify" style="width: 50px;" />
</a>
</div>
<div id="github">
<a class="github-button" href="https://github.com/expressjs/expressjs.com" data-icon="octicon-star" aria-label="Star expressjs/expressjs.com on GitHub">Star</a>
</div>
<div id="sponsor"><a href="https://expressjs.com">Express</a> adalah proyek dari <a href="https://openjsf.org">OpenJS Foundation</a>.</div>
<div id="fork"><a href="https://github.com/expressjs/expressjs.com">Fork situs web di GitHub</a>.</div>
<div>Copyright &copy; 2017 StrongLoop, IBM, and other expressjs.com contributors.</div>
</div>
<div id="license">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/3.0/us/80x15.png" /></a> Karya ini dilisensikan di bawah <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/">Lisensi Creative Commons Attribution-ShareAlike 3.0 Amerika Serikat</a>.
</div>
</footer>

<script async defer src="https://buttons.github.io/buttons.js"></script>

{% include footer/_docsearch.html %}
161 changes: 161 additions & 0 deletions _includes/header/header-id.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
<header>
<div id="mobile-menu">
<div id="nav-button" class="fa fa-bars fa-2x button"></div>
</div>
<section id="logo"><a href="/" class="express">Express</a>
</section>
<div id="navbar">
<input id="q" placeholder="🔎 search">
<ul id="navmenu">
<li><a href="/" id="home-menu"{% if page.menu == 'home' %} class="active"{% endif %}>Home</a></li>
<li>
<ul id="getting-started-menu" class="menu">
<li><a href="/{{ page.lang }}/starter/installing.html"{% if page.menu == 'starter' %} class="active"{% endif %}>Mulai</a>
<ul>
<li>
<a href="/{{ page.lang }}/starter/installing.html">
Menginstal
</a>
</li>
<li>
<a href="/{{ page.lang }}/starter/hello-world.html">
Hello world
</a>
</li>
<li>
<a href="/{{ page.lang }}/starter/generator.html">
Generator Express
</a>
</li>
<li>
<a href="/{{ page.lang }}/starter/basic-routing.html">
Dasar routing
</a>
</li>
<li>
<a href="/{{ page.lang }}/starter/static-files.html">
File statis
</a>
</li>
<li>
<a href="/{{ page.lang }}/starter/examples.html">
Contoh lainnya
</a>
</li>
<li>
<a href="/{{ page.lang }}/starter/faq.html">
FAQ
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<ul id="guide-menu" class="menu">
<li><a href="/{{ page.lang }}/guide/routing.html"{% if page.menu == 'guide' %} class="active"{% endif %}>Panduan</a>
<ul>
<li><a href="/{{ page.lang }}/guide/routing.html">Routing</a>
</li>
<li><a href="/{{ page.lang }}/guide/writing-middleware.html">Membuat middleware</a>
</li>
<li><a href="/{{ page.lang }}/guide/using-middleware.html">Menggunakan middleware</a>
</li>
<li><a href="/{{ page.lang }}/guide/overriding-express-api.html">Mengganti Express API</a>
</li>
<li><a href="/{{ page.lang }}/guide/using-template-engines.html">Menggunakan template engines</a>
</li>
<li><a href="/{{ page.lang }}/guide/error-handling.html">Penanganan Error</a>
</li>
<li><a href="/{{ page.lang }}/guide/debugging.html">Debugging</a>
</li>
<li><a href="/{{ page.lang }}/guide/behind-proxies.html">Express behind proxies</a>
</li>
<li><a href="/{{ page.lang }}/guide/migrating-4.html">Pindah to Express 4</a>
</li>
<li><a href="/{{ page.lang }}/guide/migrating-5.html">Pindah to Express 5</a>
</li>
<li><a href="/{{ page.lang }}/guide/database-integration.html">Integrasi Database</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<ul id="application-menu" class="menu">
<li><a href="/{{ page.lang }}/4x/api.html"{% if page.menu == 'api' %} class="active"{% endif %}>Referensi API</a>
<ul>
<li><a href="/{{ page.lang }}/5x/api.html">5.x (beta)</a>
</li>
<li><a href="/{{ page.lang }}/4x/api.html">4.x</a>
</li>
<li><a href="/{{ page.lang }}/3x/api.html">3.x (deprecated)</a>
</li>
<li><a href="/2x/">2.x (deprecated)</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<ul id="advanced-topics-menu" class="menu">
<li><a href="/{{ page.lang }}/advanced/developing-template-engines.html"{% if page.menu == 'advanced' %} class="active"{% endif %}>Topik lanjutan</a>
<ul>
<li><a href="/{{ page.lang }}/advanced/developing-template-engines.html">Membangun template engines</a>
</li>
<li><a href="/{{ page.lang }}/advanced/security-updates.html">Security updates</a>
</li>
<li><a href="/{{ page.lang }}/advanced/best-practice-security.html">Security best practices</a>
</li>
<li><a href="/{{ page.lang }}/advanced/best-practice-performance.html">Performance best practices</a>
</li>
<li><a href="/{{ page.lang }}/advanced/healthcheck-graceful-shutdown.html">Health checks & shutdown</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<ul id="resources-menu" class="menu">
<li><a href="/{{ page.lang }}/resources/glossary.html"{% if page.menu == 'resources' %} class="active"{% endif %}>Resources</a>
<ul>
<li>
<a href="/{{ page.lang }}/resources/community.html">Community</a>
</li>
<li>
<a href="/{{ page.lang }}/resources/glossary.html">Glossary</a>
</li>
<li>
<a href="/{{ page.lang }}/resources/middleware.html">Middleware</a>
</li>
<li>
<a href="/{{ page.lang }}/resources/utils.html">Utility modules</a>
</li>
<li>
<a href="/{{ page.lang }}/resources/contributing.html">Contributing to Express</a>
</li>
<li>
<a href="/{{ page.lang }}/changelog/4x.html">Release Change Log</a>
</li>
</ul>
</li>
</ul>
</li>
<!--
<li>
<ul id="changelog-menu" class="menu">
<li><a href="/{{ page.lang }}/changelog/4x.html"{% if page.menu == 'changelog' %} class="active"{% endif %}>Changelog</a>
<ul>
<li><a href="/{{ page.lang }}/changelog/4x.html">4.x</a></li>
</ul>
</li>
</ul>
</li>
-->
</ul>
<div id="theme-icon-container" class="theme-toggle default-theme" title="toggle darkmode">
<i class="fa fa-moon-o fa-2x"></i>
</div>
</div>
</header>

1 change: 1 addition & 0 deletions _includes/notice/notice-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dokumen ini mungkin sudah ketinggalan zaman jika dibandingkan dengan dokumentasi dalam bahasa Inggris. Untuk informasi terkini, lihat <a href="/">dokumentasi dalam bahasa Inggris</a>.
23 changes: 23 additions & 0 deletions id/3x/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: 3x-api
title: Express 3.x - Referensi API
menu: api
lang: id
---
<div id="api-doc" markdown="1">

<div class="doc-box doc-warn" markdown="1">
**Express 3.x TIDAK ADA LAGI PEMELIHARAAN**

Masalah keamanan dan kinerja yang diketahui dan tidak diketahui di versi 3.x belum diatasi sejak pembaruan terakhir (1 Agustus 2015). Sangat disarankan untuk menggunakan Express versi terbaru.
</div>

<h1>3.x API</h1>

{% include api/en/3x/express.md %}
{% include api/en/3x/app.md %}
{% include api/en/3x/req.md %}
{% include api/en/3x/res.md %}
{% include api/en/3x/middleware.md %}

</div>
19 changes: 19 additions & 0 deletions id/4x/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: 4x-api
title: Express 4.x - Referensi API
menu: api
lang: id
---
<div id="api-doc" markdown="1">

<h1>4.x API</h1>

{% include note.html content="Express 4.0 requires Node.js 0.10 or higher." %}

{% include api/en/4x/express.md %}
{% include api/en/4x/app.md %}
{% include api/en/4x/req.md %}
{% include api/en/4x/res.md %}
{% include api/en/4x/router.md %}

</div>
Loading
Loading