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

Add Bahasa #252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions languages/def.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { createRequire } from "node:module";
const enStrings = createRequire(import.meta.url)("./strings/en.json");
const zhStrings = createRequire(import.meta.url)("./strings/zh.json");
const jaStrings = createRequire(import.meta.url)("./strings/ja.json");
const idStrings = createRequire(import.meta.url)("./strings/id.json");
/**
* Start adding new languages by making a new language object inside the array
*
Expand All @@ -22,6 +23,12 @@ const languages = [
code: "ja", // 2 letter language code (ISO 639‑1)
strings: jaStrings, // JSON object of translated UI element strings
},
{
display: "Bahasa", // Name of the language displayed in UI
name: "Indonesia", // Name of the language in English, used by OpenAI translation
code: "id", // 2 letter language code (ISO 639‑1)
strings: idStrings, // JSON object of translated UI element strings
},
];

const i18n_strs = languages.reduce((langs, currentLang) => {
Expand Down
88 changes: 88 additions & 0 deletions languages/strings/id.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"label": "Indonesia",
"display": "Indonesia",
"lang": "id",
"title": "Cookbook",
"description": "Komputer terdesentralisasi dengan rangkaian tak terbatas.",
"edit": "Sunting",
"on-this-page": "Di halaman ini",
"prev-page": "Halaman Sebelumnyya",
"next-page": "Halaman Selanjutnya",
"language": "Bahasa",
"docs": "Dokumen",
"edit-link-text": "Sarankan perubahan pada halaman ini",
"welcome": "Selamat Datang",
"welcome-getting-started": "Memulai",
"welcome-testnet-info": "Informasi Testnet",
"welcome-testnet-info-quests": "Pencarian",
"concepts": "Konsep",
"concepts-specs": "Spesifikasi",
"concepts-messages": "Pesan",
"concepts-processes": "Proses",
"concepts-units": "Satuan",
"concepts-how-it-works": "Cara kerja pengiriman pesan",
"concepts-meet-lua": "Tur singkat di Lua",
"concepts-tour": "Antarmuka aos",
"guides": "Panduan",
"guides-aos": "aos (Hitung)",
"guides-aos-intro": "Perkenalan",
"guides-aos-installing": "Menginstal",
"guides-aos-cli": "CLI",
"guides-aos-load": ".memuat",
"guides-aos-token": "Membangun Token",
"guides-aos-prompt": "Kustomisasi Cepat",
"guides-aos-pingpong": "A Ping-Pong Server",
"guides-aos-editor": "Menyiapkan Editor Anda",
"guides-aos-inbox-and-handlers": "Memahami Kotak Masuk",
"guides-aos-troubleshooting": "Troubleshooting w/ao.link",
"guides-aos-faq": "FAQ",
"guides-aos-blueprints": "Blueprints",
"guides-aos-blueprints-chatroom": "Ruang obrolan Blueprint",
"guides-aos-blueprints-cred-utils": "Utilitas CRED Blueprint",
"guides-aos-blueprints-staking": "Mempertaruhkan Blueprint",
"guides-aos-blueprints-token": "Token Blueprint",
"guides-aos-blueprints-voting": "Voting Blueprint",
"guides-aos-modules": "Modul",
"guides-aos-modules-json": "JSON",
"guides-aos-modules-ao": "ao",
"guides-aos-modules-crypto": "crypto",
"guides-aos-modules-base64": "Base64",
"guides-aos-modules-pretty": "Pretty",
"guides-aos-modules-utils": "Utils",
"guides-aoconnect": "Menghubungkan (js/lib)",
"guides-calling-dryrun": "Panggilan DryRun",
"guides-connecting": "Menghubungkan ke node",
"guides-monitoring-cron": "Monitoring Cron",
"guides-installing-connect": "Memasang aoconnect",
"guides-reading-results": "Hasil Membaca",
"guides-sending-messages": "Mengirim Pesan",
"guides-spawning-processes": "Proses Pemijahan",
"guides-assign-data": "Menetapkan Data",
"guides-cli": "AO Module CLI",
"tutorials": "Tutorials",
"tutorials-begin": "Mulai",
"tutorials-begin-preparations": "Persiapan",
"tutorials-begin-messaging": "Pesan",
"tutorials-begin-chatroom": "Buat Ruang Obrolan",
"tutorials-begin-token": "Membangun Token",
"tutorials-begin-tokengating": "Pengalihan token",
"tutorials-bots-and-games": "Bots and Games",
"tutorials-bots-and-games-ao-effect": "Ayo Bermain Game",
"tutorials-bots-and-games-announcements": "Menafsirkan Pengumuman",
"tutorials-bots-and-games-game-state": "Mengambil Status Game",
"tutorials-bots-and-games-decisions": "Keputusan Strategis",
"tutorials-bots-and-games-attacking": "Respons Otomatis",
"tutorials-bots-and-games-bringing-together": "Menyatukan semuanya",
"tutorials-bots-and-games-arena-mechanics": "Mekanisme Arena",
"tutorials-bots-and-games-build-game": "Memperluas Arena",
"references": "referensi",
"references-lua": "Lua",
"references-wasm": "Web Assembly",
"references-ao": "ao Module",
"references-handlers": "handlers",
"references-token": "Token",
"references-data": "Memuat Data",
"references-cron": "CRON Messages",
"references-editor-setup": "ao Editor Setup",
"references-community": "Masyarakat"
}