# Mexican Spanish versus Spanish from Spain

Mexican Spanish is `es-MX` (market `mx`, Mexico); Spanish from Spain is `es-ES` (market `es`, Spain). Pass the locale tags to the check and the market codes to the MCP tools.

## Run the check

```sh
npx threefold check . --markets es-MX,es-ES
```

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: JSON resource files named by locale (`locales/es-MX.json`).

### 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`, verified `static`, measured status `production`. Applies to `es-ES`, `es-MX`, `es-AR`, `es-419`, `es`.
- Source: <https://www.rae.es/dpd/>

## The rules

### VAR-ES-VOSOTROS-LATAM: Vosotros in Latin America

- Applies to `es-MX`, `es-AR`, `es-419`, `es-CO`, `es-CL`, `es-PE`.
- Vosotros pronouns and second-person plural verb forms are not used in Latin America (es-MX, es-AR). Use 'ustedes' and third-person plural verbs.
- What the check says: Found vosotros form '…'. In Latin America (es-MX, es-AR), use 'ustedes' and 'su/sus'.
- Suggestion: Replace with 'ustedes', 'les', or 'su/sus'.
- Source: <https://www.rae.es/dpd/pronombres%20personales>

### VAR-ES-VOCAB-MOVIL: Term 'móvil' vs 'celular'

- Applies to `es-MX`, `es-AR`, `es-419`, `es-CO`, `es-CL`.
- 'Móvil' is peninsular Spanish (es-ES). In Latin America (es-MX, es-AR), 'celular' or 'teléfono celular' is used.
- What the check says: Term '…' is typical in Spain (es-ES). In Latin America, use 'celular' or 'teléfono celular'.
- Suggestion: Replace with 'celular'.
- Source: <https://learn.microsoft.com/en-us/globalization/reference/microsoft-terminology>

## Lint copy against these rules

Variant lint is free and needs no account:

```sh
curl -s https://api.threefold.eco/api/variant-lint \
  -H "content-type: application/json" -H "X-Threefold-Docs-Page: mexican-spanish-versus-spanish-from-spain" \
  -d '{"text":"Descargad la app en vuestro móvil","variant":"es-MX"}'
```

On that text the rules engine returned 2 issues:

- `VAR-ES-VOSOTROS-LATAM` on `vuestro`: Found vosotros form 'vuestro'. In Latin America (es-MX, es-AR), use 'ustedes' and 'su/sus'.
- `VAR-ES-VOCAB-MOVIL` on `móvil`: Term 'móvil' is typical in Spain (es-ES). In Latin America, use 'celular' or 'teléfono celular'.

Variant lint matches words; it does not judge tone or meaning. A person who speaks the variant reviews the copy.

## What it reports on a small example

The generator of this page ran the check on a 3-file example project with `--markets es-MX,es-ES`. These are the results for this page's checks, as the check returned them. Overall verdict on the example: `complete_static`.

**CHK-VAR-SPANISH**: `warn`

- `warn` in `locales/es-MX.json` line 2: [es-MX] Found vosotros form 'vuestros'. In Latin America (es-MX, es-AR), use 'ustedes' and 'su/sus'. Fix: Replace with 'ustedes', 'les', or 'su/sus'.
- `warn` in `locales/es-MX.json` line 3: [es-MX] Term 'móvil' is typical in Spain (es-ES). In Latin America, use 'celular' or 'teléfono celular'. Fix: Replace with 'celular'.

No finding from this page's checks names `locales/es-ES.json`.

The example project:

`locales/en.json`

```json
{
  "cta": "Share it with your friends",
  "phone": "Use your phone"
}
```

`locales/es-ES.json`

```json
{
  "cta": "Compartidlo con vuestros amigos",
  "phone": "Usa tu móvil"
}
```

`locales/es-MX.json`

```json
{
  "cta": "Compartidlo con vuestros amigos",
  "phone": "Usa tu móvil"
}
```

## Call threefold from an agent

The MCP `check` tool with `what: "repo"`:

```json
{
  "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:

```sh
curl -s "https://api.threefold.eco/api/i18n/rules?platform=core&market=es-MX" -H "X-Threefold-Docs-Page: mexican-spanish-versus-spanish-from-spain"
```

## 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](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](https://threefold.eco/docs/page-localisation.md)) 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`, `es-ES`) to `npx threefold check --markets`; the market code (`mx`, `es`) to the MCP `check` and `market` tools and the library endpoints.

### Does the check flag es-ES words in es-MX copy?

`VAR-ES-VOSOTROS-LATAM`: Found vosotros form '…'. In Latin America (es-MX, es-AR), use 'ustedes' and 'su/sus'. `VAR-ES-VOCAB-MOVIL`: Term '…' is typical in Spain (es-ES). In Latin America, use 'celular' or 'teléfono celular'. On the lint example it found `vuestro`, `móvil`.

## 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:

```sh
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](https://threefold.eco/docs/install.md). To try it without an account, use `https://api.threefold.eco/mcp?keyless=1`: library reads only, capped per IP address per day ([pricing](https://threefold.eco/pricing.md)).
