Localise a SwiftUI app for Mexican Spanish
One setup: run threefold's i18n check on a SwiftUI app for es-MX, read what it reports, fix, re-run.
On this page
Mexican Spanish is the locale es-MX for the check; the market code for Mexico in MCP and library calls is mx.
Run the check
npx threefold check . --markets es-MX
The check runs on your machine. Source code is not uploaded; only --upload sends the report (not the code). Exit code 1 means the verdict is incomplete.
If npx says the threefold package does not exist, the npm package has not been published yet (checked 12 November 2026), and no local scan through threefold is available. The hosted MCP server cannot read your disk. What does work: connect it and call check with what: "repo" (below), or fetch the public rules catalogue (below). Both return the rules and criteria for your agent to apply to the files it already has open. That is your agent grading against threefold's criteria, not a scan result, and it gives no verdict.
What the check looks at
Files this page is about: .swift files with Text("...").
CHK-CORE-001: Hardcoded UI Strings
- What it looks for: Detects raw literal text in UI components instead of localized lookup wrappers.
- Severity
error, verifiedstatic, measured statusproduction. - Source: https://github.com/edvardhub/eslint-plugin-i18next
CHK-VAR-SPANISH: Spanish Regional Variants (es-ES / es-MX / es-AR)
- What it looks for: Audits Spanish copy for dialect precision: flags vosotros in Latin America, missing voseo in Argentine CTAs, and regional vocabulary mismatches.
- Severity
warn, verifiedstatic, measured statusproduction. Applies toes-ES,es-MX,es-AR,es-419,es. - Source: https://www.rae.es/dpd/
Call threefold from an agent
The MCP check tool with what: "repo":
{
"what": "repo",
"market": "mx"
}
On the hosted server (https://api.threefold.eco/mcp) this returns the market's readiness rules and criteria for the agent to apply to the open files; it receives no files and returns no verdict. The local stdio server, which also scans the path you give it, runs from a checkout of the threefold repository and is not publicly distributed yet.
The rules catalogue is public and needs no account:
curl -s "https://api.threefold.eco/api/i18n/rules?platform=core&market=es-MX" -H "X-Threefold-Docs-Page: localise-a-swiftui-app-for-mexican-spanish"
The skill
Follow the localise-app skill: run the check, fix every fail, re-run until the verdict is complete or complete_static, then show the person the human-review list. threefold returns evidence and criteria; the agent grades the files; nobody invents a pass; legal items stay on the human-review list. Read it at https://threefold.eco/skills/localise-app.md. The Claude Code and Codex plugins bundle the same skill.
Questions
Does threefold translate the strings?
The check does not. It reports what is missing or wrong; your agent or a person writes the strings. threefold has a separate, stateless page-localisation call (Page localisation) that sends page text to a model supplier; a person reviews its output.
Does the source leave the machine?
Not with npx threefold check. It reads files locally. --upload sends the report, not the code. The hosted check with what: "repo" receives no files: it returns rules and criteria only.
Which market code do I pass?
The locale tag (es-MX) to npx threefold check --markets; the market code (mx) to the MCP check and market tools and the library endpoints.
Which checks run on a SwiftUI app for es-MX?
CHK-CORE-001, CHK-VAR-SPANISH, plus every other check that applies to the files it detects, and the human-review items for es-MX.
What this page will not say
This page does not say an app is compliant, certified or a percentage ready. The check reports complete, complete_static or incomplete, and lists human-review items next to the verdict without counting them as done.
Connect, once
Claude Code:
claude mcp add --transport http --scope user threefold https://api.threefold.eco/mcp
Cursor: open cursor://anysphere.cursor-deeplink/mcp/install?name=threefold&config=eyJ0aHJlZWZvbGQiOnsidXJsIjoiaHR0cHM6Ly9hcGkudGhyZWVmb2xkLmVjby9tY3AifX0=.
Codex, VS Code, Gemini CLI, OpenCode, Claude.ai, ChatGPT and Grok: Install and connect. To try it without an account, use https://api.threefold.eco/mcp?keyless=1: library reads only, capped per IP address per day (pricing).