diff --git a/languages/def.js b/languages/def.js index 000a9db..1ee33c1 100644 --- a/languages/def.js +++ b/languages/def.js @@ -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 * @@ -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) => { diff --git a/languages/strings/id.json b/languages/strings/id.json new file mode 100644 index 0000000..3be379b --- /dev/null +++ b/languages/strings/id.json @@ -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" +}