Skip to content

fix(theme-translation): add missing Indonesian (id) theme translations - #12933

Open
insanrizky wants to merge 2 commits into
meta:mainfrom
insanrizky:theme-translations-id
Open

insanrizky wants to merge 2 commits into
meta:mainfrom
insanrizky:theme-translations-id

Conversation

@insanrizky

@insanrizky insanrizky commented Nov 9, 2026 •

Copy link
Copy Markdown

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

35 strings in the Indonesian (id) theme translations were still the English source text, mostly the newer DocSearch Ask AI screen and search box labels, plus the draft banner, blog authors pages, the external link and mobile dropdown ARIA labels, the system color mode and the live code block reset button. This translates them.

Kept as-is on purpose: theme.admonition.info ("info" is also the Indonesian word) and theme.blog.author.pageTitle ({authorName} - {nPosts}, same as other locales). Terminology follows the existing id files (e.g. "modus" for color modes, "Salin" for copy). Translation only, no code change.

Test Plan

  • Only values in locales/id/*.json changed; keys and key order are untouched (no diff in keys against locales/base).
  • oxfmt --list-different (0.75, the repo version) reports no differences for the changed files.

AI-assisted and reviewed by me.

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/

Related issues/PRs

#3526

Summary by CodeRabbit

  • Localization
    • Updated Indonesian interface text for external links, tips, blog authors, color-mode controls, draft notices, and mobile dropdowns.
    • Changed the code playground’s reset button label to Indonesian.
    • Replaced English text with Indonesian translations across search responses, feedback controls, navigation, input hints, recent conversations, and related search actions.

Translate 35 of the 37 strings in the id locale that were still in English:
the Ask AI screen and search box of theme-search-algolia, the draft
banner, blog authors pages, external link and mobile dropdown ARIA
labels, the system color mode and the live code block reset button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@meta-cla

meta-cla Bot commented Nov 9, 2026

Copy link
Copy Markdown

Hi @insanrizky!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Indonesian translation values changed in three Docusaurus theme locale files. The changes cover shared theme labels, the live-code reset button, and Algolia search and AI messages. No translation keys were added or removed.

Changes: Indonesian theme translations

Layer / File(s) Summary
Shared theme and live-code labels
packages/docusaurus-theme-translations/locales/id/theme-common.json, packages/docusaurus-theme-translations/locales/id/theme-live-codeblock.json
Indonesian text changed for shared theme labels, accessibility labels, banners, author messages, and the live-code reset button.
Algolia search and AI messages
packages/docusaurus-theme-translations/locales/id/theme-search-algolia.json
English labels and prompts changed to Indonesian for AI search status, feedback controls, navigation, input hints, and recent conversations.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Possibly related PRs

  • meta/docusaurus#12828: Translates overlapping Docusaurus theme message IDs into Simplified Chinese.
  • meta/docusaurus#12406: Updates the DocSearch translation contract, including Ask AI and search-control message IDs.

Suggested labels: pr: translations, pr: bug fix

Merge Risk: Minimal · up to 4156f

This change replaces English text with Indonesian translations in the theme, live code block, and search interfaces. It carries no merge-blocking risk.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: adding missing Indonesian theme translations.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5149859c-b382-406b-9d9f-f3ab2a9eb3a8
Commits

Reviewing files that changed from the base of the PR and between c00f04e and 4156fb3.

Files selected for processing: 3

  • packages/docusaurus-theme-translations/locales/id/theme-common.json
  • packages/docusaurus-theme-translations/locales/id/theme-live-codeblock.json
  • packages/docusaurus-theme-translations/locales/id/theme-search-algolia.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@netlify

netlify Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

✅ [V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 4156fb3
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6af43710c35453231ce2bed7
😎 Deploy Preview https://deploy-preview-12933--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla

meta-cla Bot commented Nov 9, 2026

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Nov 9, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional comments: 1

packages/docusaurus-theme-translations/locales/id/theme-search-algolia.json-4-4: 1

4-4: Minor · Functional Correctness · Quick win

Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Distinguish completed searches from active searches.

afterToolCallText and duringToolCallText both say “Mencari”. The completed-search label therefore does not convey that the search finished, unlike the English default “Searched for”. (raw.githubusercontent.com)

Use a completion marker, such as “Sudah mencari”.

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1732b38a-8095-49c1-b368-62e31e3c86aa
Commits

Reviewing files that changed from the base of the PR and between c00f04e and 3439564.

Files selected for processing: 3

  • packages/docusaurus-theme-translations/locales/id/theme-common.json
  • packages/docusaurus-theme-translations/locales/id/theme-live-codeblock.json
  • packages/docusaurus-theme-translations/locales/id/theme-search-algolia.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

…Indonesian (id)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant