Skip to content

[i18n] Add i18n scaffolding.#15101

Closed
mzeng-openai wants to merge 9 commits intomainfrom
dev/mzeng/elicitation_i18n
Closed

[i18n] Add i18n scaffolding.#15101
mzeng-openai wants to merge 9 commits intomainfrom
dev/mzeng/elicitation_i18n

Conversation

@mzeng-openai
Copy link
Copy Markdown
Collaborator

  • Add i18n scaffolding, initially supporting elicitation messages.

Comment thread codex-rs/core/src/config/config_tests.rs
Comment thread codex-rs/i18n/src/locales/en/approval.ftl
@mzeng-openai mzeng-openai marked this pull request as ready for review March 19, 2026 07:15
@mzeng-openai mzeng-openai requested a review from ja-openai March 19, 2026 17:17
Copy link
Copy Markdown

@ja-openai ja-openai left a comment

Choose a reason for hiding this comment

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

looks good! just one change for the en directory (and a tiny comment on locale fallback)

@@ -0,0 +1,114 @@
approval-header = Approve app tool call?
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

let's just call that directory: en , that's the default locale in Mojito

Comment thread docs/config.md

Codex resolves locales to canonical locale codes, preferring specific locale
codes first, then generic language codes, and finally `en-US`. For example,
`zh-HK` falls back to `zh` when there is no `zh-HK` resource bundle.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: probably comes from the current files present in the scaffold, but might be a bit misleading for later. we'd want zh-hk to fallback to zh-hant in the list of Mojito locales not zh

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2026

Closing this pull request because it has had no updates for more than 14 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 3, 2026
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.

2 participants