Skip to content

feat(i18n): add Afrikaans (af) locale#22031

Closed
algojogacor wants to merge 4 commits into
NousResearch:mainfrom
algojogacor:afrikaans-locale
Closed

feat(i18n): add Afrikaans (af) locale#22031
algojogacor wants to merge 4 commits into
NousResearch:mainfrom
algojogacor:afrikaans-locale

Conversation

@algojogacor

Copy link
Copy Markdown

Adds Afrikaans (af) locale support for CLI approval prompts and gateway slash-command replies.

Afrikaans is spoken by ~7 million native speakers primarily in South Africa and Namibia. The translations follow the same catalog structure as existing locale files.

Fixes: #21961

…_images

document.images is unreliable on SPA and JavaScript-heavy pages,
causing 'SyntaxError: Unexpected end of input' when the eval bridge
processes expressions that rely on it.

Change to document.querySelectorAll('img') which returns a static
NodeList that Array.from can reliably convert. Also wrapped in an
IIFE to match the working workaround pattern from browser_console.

Fixes: #22012
Closes: #22012
MiniMax returns expired_in as a Unix-millisecond timestamp,
not a seconds duration. This caused 'year 58382 is out of range'
errors when the raw value was treated as seconds.

Apply the same defensive heuristic already used by
_minimax_poll_token at both OAuth login and refresh sites.

Fixes: #22020
…tion tests, timeout bump

- Add Python 3.12 and 3.13 to test matrix with fail-fast: false (#22005)
- Add actions/cache for uv cache and .venv (#22004)
- Install ripgrep in e2e job (#22003)
- Remove --ignore=tests/integration so integration tests run (#22002)
- Bump e2e timeout from 10 to 15 minutes (#22006)

Fixes: #22002, #22003, #22004, #22005, #22006
Add Afrikaans translations for CLI approval prompts and gateway
slash-command replies. Follows the same catalog structure as other
locale files. Afrikaans shares significant vocabulary with Dutch.

Fixes: #21961
@liuhao1024

Copy link
Copy Markdown
Contributor

This PR bundles several unrelated changes under an i18n title. The diff touches 14 files across at least 4 distinct concerns:

1. Skill deletions (should not be in a locale PR)

The diff deletes 8 skill files:

  • skills/apple/DESCRIPTION.md
  • skills/apple/apple-notes/SKILL.md
  • skills/apple/apple-reminders/SKILL.md
  • skills/apple/findmy/SKILL.md
  • skills/apple/imessage/SKILL.md
  • skills/gaming/pokemon-player/SKILL.md
  • skills/smart-home/DESCRIPTION.md + skills/smart-home/openhue/SKILL.md
  • skills/yuanbao/SKILL.md

If these skills are being intentionally decommissioned, that should be a separate PR with an explicit discussion. If this was accidental (e.g. a stale rebase onto a branch that removed them), please rebase onto current main.

2. CI workflow changes (unrelated)

The diff adds Python 3.12/3.13 matrix testing, a uv cache step, includes integration tests in the unit job, and increases the e2e timeout. These are infrastructure improvements that deserve their own PR and review.

3. MiniMax OAuth fix in auth.py (unrelated)

The expired_in field handling change (interpreting it as a Unix-ms timestamp vs. a seconds duration) is a bugfix for an unrelated subsystem.

4. browser_tool.py change (minor, unrelated)

The document.imagesdocument.querySelectorAll('img') change is reasonable but unrelated to i18n.

5. tools/mixture_of_agents_tool.py model name changes

The diff also updates model names in the MoA tool (e.g. claude-opus-4.6claude-opus-4-20250514). Unrelated to locale.


Suggestion: Please split this into focused PRs:

  1. locales/af.yaml — the Afrikaans locale addition (the actual feature)
  2. CI improvements — matrix testing, caching, timeout changes
  3. auth.py MiniMax fix — the OAuth token interpretation fix
  4. Skill decommissioning — if intentional, with a rationale
  5. browser_tool.py / MoA model changes — as appropriate

@algojogacor algojogacor closed this May 9, 2026
@algojogacor algojogacor deleted the afrikaans-locale branch May 9, 2026 10:07
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.

Add Afrikaans locale support

2 participants