Skip to content

Set ja for default language#10

Merged
attakei merged 6 commits into
mainfrom
doc/set-ja-fo-default-language
May 10, 2026
Merged

Set ja for default language#10
attakei merged 6 commits into
mainfrom
doc/set-ja-fo-default-language

Conversation

@attakei
Copy link
Copy Markdown
Member

@attakei attakei commented May 10, 2026

Summary by CodeRabbit

  • Documentation

    • Documentation now defaults to Japanese language.
    • Added complete English translations for documentation pages.
    • Updated documentation content to Japanese.
  • Chores

    • Updated Sphinx documentation build configuration.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 10, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bdaffe73-1dd2-4ebc-aa35-a83074c61b9b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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

Comment @coderabbitai help to get the list of available commands and usage tips.

@attakei attakei marked this pull request as ready for review May 10, 2026 08:04
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
docs/_locales/en/LC_MESSAGES/usage/index.po (1)

7-21: ⚡ Quick win

Remove fuzzy marker and update placeholder metadata across all newly added PO catalog files.

The fuzzy flag and placeholder revision fields (PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE, Last-Translator: FULL NAME <EMAIL@ADDRESS>) cause gettext toolchains to skip these catalog headers during compilation and treat them as draft. This pattern is present across all newly added English PO files in docs/_locales/en/LC_MESSAGES/ (index.po, guide.po, changes.po, sphinx.po, and usage/*.po).

Removing the fuzzy marker and updating the placeholder fields to actual values will ensure these catalogs are finalized and treated as complete in i18n workflows.

Cleanup pattern
-#, fuzzy
 msgid ""
 msgstr ""
@@
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"PO-Revision-Date: 2026-05-10 16:48+0900\n"
+"Last-Translator: <translator-name>\n"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/_locales/en/LC_MESSAGES/usage/index.po` around lines 7 - 21, Remove the
fuzzy flag and replace placeholder metadata in the newly added PO files so
gettext treats them as final: remove the line "#, fuzzy" and replace
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE" with the actual revision timestamp and
set "Last-Translator: FULL NAME <EMAIL@ADDRESS>" to a real name/email (and
update "Project-Id-Version" or other header values if appropriate) in each of
the files mentioned (index.po, guide.po, changes.po, sphinx.po and usage/*.po);
ensure the resulting headers conform to gettext format (valid date/time,
translator contact) so the catalogs compile as non-draft.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/_locales/en/LC_MESSAGES/guide.po`:
- Line 7: Remove the catalog-level fuzzy flag by deleting the header comment
line that reads "#, fuzzy" in the PO file header (the catalog-level fuzzy
marker); ensure no other top-level "fuzzy" flags remain in the header so the
translations are not marked fuzzy and will be treated as final by gettext
tooling.

In `@docs/conf.py`:
- Line 26: The mini i18n fallback is set to English while the source language is
Japanese; update the mini18n_default_language setting to match the language
variable by changing mini18n_default_language from "en" to "ja" (or assign it
from language) so that mini18n_default_language and language remain consistent
(refer to the language and mini18n_default_language symbols in the config).

---

Nitpick comments:
In `@docs/_locales/en/LC_MESSAGES/usage/index.po`:
- Around line 7-21: Remove the fuzzy flag and replace placeholder metadata in
the newly added PO files so gettext treats them as final: remove the line "#,
fuzzy" and replace "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE" with the actual
revision timestamp and set "Last-Translator: FULL NAME <EMAIL@ADDRESS>" to a
real name/email (and update "Project-Id-Version" or other header values if
appropriate) in each of the files mentioned (index.po, guide.po, changes.po,
sphinx.po and usage/*.po); ensure the resulting headers conform to gettext
format (valid date/time, translator contact) so the catalogs compile as
non-draft.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 103172f7-2e88-42e0-a81b-c014026c13ca

📥 Commits

Reviewing files that changed from the base of the PR and between 8e4a643 and e1822dc.

📒 Files selected for processing (19)
  • Taskfile.yaml
  • docs/_locales/en/LC_MESSAGES/changes.po
  • docs/_locales/en/LC_MESSAGES/guide.po
  • docs/_locales/en/LC_MESSAGES/index.po
  • docs/_locales/en/LC_MESSAGES/sphinx.po
  • docs/_locales/en/LC_MESSAGES/usage/index.po
  • docs/_locales/en/LC_MESSAGES/usage/splitter.po
  • docs/_locales/ja/LC_MESSAGES/changes.po
  • docs/_locales/ja/LC_MESSAGES/guide.po
  • docs/_locales/ja/LC_MESSAGES/index.po
  • docs/_locales/ja/LC_MESSAGES/sphinx.po
  • docs/_locales/ja/LC_MESSAGES/usage/index.po
  • docs/_locales/ja/LC_MESSAGES/usage/splitter.po
  • docs/changes.rst
  • docs/conf.py
  • docs/guide.rst
  • docs/index.rst
  • docs/usage/index.rst
  • docs/usage/splitter.rst
💤 Files with no reviewable changes (6)
  • docs/_locales/ja/LC_MESSAGES/sphinx.po
  • docs/_locales/ja/LC_MESSAGES/guide.po
  • docs/_locales/ja/LC_MESSAGES/changes.po
  • docs/_locales/ja/LC_MESSAGES/usage/index.po
  • docs/_locales/ja/LC_MESSAGES/index.po
  • docs/_locales/ja/LC_MESSAGES/usage/splitter.po

Comment thread docs/_locales/en/LC_MESSAGES/guide.po Outdated
Comment thread docs/conf.py
Copy link
Copy Markdown
Member Author

@attakei attakei left a comment

Choose a reason for hiding this comment

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

Replied all change requests

Comment thread docs/conf.py
Comment thread docs/_locales/en/LC_MESSAGES/guide.po Outdated
@attakei attakei merged commit a0dd70e into main May 10, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant