diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9aec853..c154fb1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,14 @@ Todos los cambios importantes de ModpackES quedan en este archivo. El formato si
## [Sin publicar]
+### Agregado
+
+- **El README y la política de seguridad, también en inglés y en chino** ([README.en.md](README.en.md),
+ [README.zh-CN.md](README.zh-CN.md)), con un selector de idioma arriba. La app sigue en español: el README en
+ inglés lo explica en las preguntas frecuentes.
+- **Guía para publicar una versión** ([docs/publicar-version.md](docs/publicar-version.md)): CHANGELOG, número de
+ versión, etiqueta y qué hace el workflow de release, enlazada desde CONTRIBUTING.
+
## [2.3.2] - 2026-11-28
### Corregido
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 53ba7a1..ea75af4 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -148,6 +148,11 @@ Si Gradle falla por la red (por ejemplo, un «Read timed out» o un HTTP 5xx al
Corre las pruebas de Java (JUnit) y deja el jar en `src/traductor_es/recursos/mods/` (Git lo ignora; el CI lo construye y `construir_exe.py` lo incluye). Un loader o versión nuevo es un proyecto nuevo en `mod-runtime/` (copia el más cercano y lee el código real de esa versión: los nombres de las clases y los eventos cambian), una entrada en `PROYECTOS` de `scripts/construir_mod.py` y otra en `SOPORTADOS` de `salida/mod_apoyo.py`. Un mismo jar puede servir para varias versiones vecinas si el mismo código compila y pasa las pruebas contra cada una: `uv run python scripts/construir_mod.py fabric-1.21.5 --propiedad minecraft_version=1.21.8 --propiedad fabric_api_version=0.136.1+1.21.8 --propiedad loader_version=0.16.13` lo comprueba sin generar jar, y el rango comprobado va en `minecraft_range` del proyecto y en `SOPORTADOS`. Quilt no tiene proyectos propios: carga los mods de Fabric con Quilted Fabric API, y `_VERSIONES_DE_QUILT` lista las versiones donde esa API existe. Si una versión no puede tener mod, se anota en `IMPOSIBLES` con el motivo (Fabric 1.16.5, 1.18.2 y 1.19.2 no tienen evento de chat del cliente).
+## Publicar una versión
+
+Quien mantiene el repositorio corta las versiones; el paso a paso (CHANGELOG, número de versión, etiqueta
+y qué hace el workflow de release) está en [docs/publicar-version.md](docs/publicar-version.md).
+
## Licencia de las contribuciones
ModpackES usa la licencia [GPL-3.0-or-later](LICENSE). Al mandar un cambio aceptas que se publique bajo esa
diff --git a/README.en.md b/README.en.md
new file mode 100644
index 0000000..491efda
--- /dev/null
+++ b/README.en.md
@@ -0,0 +1,401 @@
+
+
+
+
+# ModpackES
+
+**Translate Minecraft modpacks into Spanish:** quests, guidebooks, KubeJS scripts, and the text of every
+mod, in a couple of clicks.
+
+*(The app's interface and the commands shown below are in Spanish — see [FAQ](#faq) for why.)*
+
+[](https://github.com/Consterna/ModpackES/actions/workflows/ci.yml)
+[](https://github.com/Consterna/ModpackES/releases/latest)
+[](LICENSE)
+
+
+
+[Español](README.md) · **English** · [中文](README.zh-CN.md)
+
+[**Download the installer**](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-instalador.exe)
+· [portable version](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-portable.zip)
+· [How to use it](#how-to-use-it) · [FAQ](#faq) · [Changelog](CHANGELOG.md)
+
+
+
+
+
+
+
+
+## What it does
+
+ModpackES reads your modpack, finds everything that's still in English, and translates it with Google's
+Gemini or any OpenAI-compatible engine, including models that run for free on your own PC (LM Studio,
+Ollama). It works with **any version** (1.7.10 to 26.x), **any loader** (Forge, NeoForge, Fabric, Quilt)
+and **any launcher**, and writes all seven Spanish variants of the game at once.
+
+- **It doesn't modify mod jars.** Everything that comes from mods goes into a separate resource pack.
+- **Everything is backed up.** One button restores the modpack's original text.
+- **You never pay twice.** Whatever is already translated stays in a memory that gets reused, even across
+ modpacks (from another modpack, only the parts that came out without doubts).
+- **It respects formatting.** Colors, links, variables and commands come through untouched; whatever
+ doesn't pass the quality rules is retried or left in English rather than breaking something.
+
+| Content | Formats | Where it goes |
+|---|---|---|
+| Mod text (items, blocks, menus, tooltips) | `lang/*.json` (1.13+) and `.lang` (1.12 and earlier), including nested jars (also the ones Fabric and Quilt declare outside `META-INF/jars`), KubeJS, and the modpack's own resource packs | `Traduccion_ES` resource pack |
+| Quests | FTB Quests (text inside chapters, the `lang/` folder from 1.21+ and its JSON5 version from 26.x, 1.12's NBT, and the name of reward items, also in 1.12; never the items a task asks for, since FTB Quests compares those), BetterQuesting, HQM, Heracles | In place, with a backup |
+| Guidebooks | Patchouli (also the fields a mod's own templates show, such as Blood Magic's `heading`), Mantle (Tinkers), Citadel (Alex's Mobs), GuideME (AE2), Lavender. Modonomicon works through language keys | Resource pack (or in place, if it's a book that belongs to the modpack itself) |
+| KubeJS scripts | What the player sees: `tell`, `notify`, `displayName`, `Text.of`, tooltips, JEI/REI/EMI info, REI group names, messages built from pieces before a `tell`, and the text of `tellraw`, `title` and `say` inside `runCommand` | In place, with a backup |
+| CraftTweaker scripts | The visible parts of the `.zs` files in `scripts/`: `addTooltip`, `addShiftTooltip`, `displayName`, `setDisplayName`, JEI descriptions (`addDescription`, `addInfo`) and the text of `game.setLocalization` | In place, with a backup |
+| Datapacks and tips | Functions (`.mcfunction`: `tellraw`, `title`, `say`), advancement titles and descriptions, loading-screen tips (the Tips mod), and the names, descriptions and written books of the items loot tables hand out. They're found by their structure (`data//functions/…`), whether they're in `kubejs/data`, `global_packs`, `datapacks`, `config/openloader`, or inside a world's own datapacks, loose or inside a `.zip`. Text components work in JSON (up to 1.21.4) and in SNBT (from 1.21.5 on) | In place, with a backup |
+| Main menu (FancyMenu and Drippy) | Button text (`label`, `hoverlabel`, `description`) and the text/splash entries set to `source_mode = direct`, in both the v3 and v2 layouts under `config/fancymenu/customization/`. FancyMenu's own placeholders, the `%#…%` colors and the `%n%` line break are left untouched; anything already using a language key is skipped | In place, with a backup |
+| Shader options | The shaderpack options menu (`shaders/lang/en_US.lang`) with Iris or Oculus, which give priority to the game's own language. A key that two shaderpacks use with different text is left untranslated, and any Spanish a shaderpack already ships with is copied over | `Traduccion_ES` resource pack (the shaderpack itself is never touched) |
+| Mod descriptions | Each mod's description in the mods list, using the keys read by Mod Menu (Fabric and Quilt) and by NeoForge from 1.20.4 on. Forge has no key for this | `Traduccion_ES` resource pack |
+| Loader text | NeoForge's or Forge's own menus, commands and common tag names, plus FancyModLoader's messages, whose jars live in the launcher's `libraries/` folder. Any Spanish they already ship with is copied, and the rest gets translated | `Traduccion_ES` resource pack |
+| Origins mod | The name and description of origins, powers and layers (`data//origins`, `powers`, `origin_layers`), in jars and datapacks, using the key each version relies on: the literal text up to Origins 1.10 and in the Forge port, and `origin...name` from 1.13 on. In 1.11 and 1.12 origins are hardcoded text and stay as-is | `Traduccion_ES` resource pack (the data itself is never touched) |
+| Other menus | CustomMainMenu (1.12: buttons, labels and splash text in `config/CustomMainMenu/*.json`) and BisectHost Menu's server announcement (`config/bhmenu-client.toml`) | In place, with a backup |
+| Text hardcoded in a mod's code | Chat messages, action-bar text, tooltips and button text that a mod has written directly into its Java code. A resource pack can't reach those: the app translates them into a lookup table read by the **ModpackES Runtime** support mod (client-only, Forge 1.12.2, 1.16.5, 1.17.1, 1.18.2, 1.19.2 and 1.20.1, NeoForge 1.20.1, 1.21 through 1.21.11 and 26.1 through 26.3, and Fabric 1.19.4, 1.20 through 1.20.6, 1.21 through 1.21.11 and 26.1 through 26.3) | Table inside the resource pack; the mod is only installed if you ask for it |
+
+Whatever a mod already ships in Spanish is left alone, and if one variant exists (for example `es_es`), it's
+copied to the others at no cost. Older Patchouli books that keep their text baked into the jar can't be
+translated without modifying the mod: the app tells you which ones those are.
+
+The Spanish variant you pick (Latin American by default) goes to every Spanish-language file the game reads.
+With **"Also translate a separate version for Spain"** (`--tambien-es-es`), `es_es` gets its own translation,
+using the names the game uses in Spain ("Roca", "objeto"…). It costs another translation the first time;
+after that it comes out of memory for free. This only applies to things that have one file per language
+(mods, books, and FTB Quests' `lang/` folder). Scripts and quests written directly inside chapters only have
+a single language and stay in whichever Spanish variant you chose.
+
+## How to use it
+
+1. Download and install
+ [`ModpackES-instalador.exe`](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-instalador.exe):
+ it installs just for your user, with no admin rights needed, and starts up faster. If you'd rather not
+ install anything, download the portable version
+ [`ModpackES-portable.zip`](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-portable.zip),
+ extract the whole zip and open `ModpackES/ModpackES.exe`. It ships inside a folder, not as a loose `.exe`,
+ for safety: a program opened straight from Downloads could load files another program left lying around
+ there.
+2. Close Minecraft and open ModpackES.
+3. Pick the instance from the sidebar on the left: each card shows the Minecraft version, the loader, and
+ whether it's already translated. Instances from Prism Launcher, MultiMC, CurseForge, Modrinth,
+ ATLauncher, GDLauncher and the official launcher show up automatically, from their usual folder. If
+ yours doesn't appear (for example, because you moved the instances folder in the launcher's settings),
+ drag its folder onto the window or use "Choose folder…".
+4. Pick an engine using the tab in the top right (see [Engines](#engines)). With Gemini, click "Save
+ key…" and paste your key from [aistudio.google.com/apikey](https://aistudio.google.com/apikey); it's
+ stored in the Windows Credential Manager, never in a file. With LM Studio or Ollama you don't need a
+ key at all: start its server and click "Test connection" to pick the model.
+5. Click **Analyze (free)**. The cards for mods, books, quests and scripts show how many texts are
+ missing, and the button shows how much it would cost. Uncheck anything you don't want translated.
+6. Click **Translate**. When it's done it activates the pack and switches the game to Spanish (you can
+ change that under "Advanced options").
+
+If it's interrupted or you cancel it, just analyze again and translate again: it picks up where it left
+off. The steps above (Engine, Analyze, Translate, Done) show which one you're on, and Ctrl+Enter presses
+the main button.
+
+The gear icon at the top switches the theme (following Windows, dark, or light) and the new-version
+notice.
+
+The optional **Setting** field tells the engine what the modpack is about: "cozy farming, friendly tone;
+'Bells' is the village currency." It helps with tone and with terms specific to the pack, and it's saved
+per instance.
+
+**Quality** (under "Advanced options" and `--calidad`):
+- **Balanced**, the default profile: anything that came out with doubts gets fixed once. The fix only
+ sticks if a blind judge prefers it. Costs around 5% more.
+- **Maximum:** on top of that, every short text gets translated three times and the result is chosen by
+ consensus, and quests and books are reviewed too. Costs 30% more, plus the review. With Gemini 3.8
+ Flash it didn't measurably improve anything: it's an option for models that are shakier.
+- **Economic:** only the automatic fixes.
+
+**Automatic review** (optional, under "Advanced options", quests and books only): after translating,
+another request to the engine judges every new translation [GEMBA-MQM](https://aclanthology.org/2023.wmt-1.64)-style
+(accuracy, terminology, fluency and style, with minor, major or critical severity), and anything marked
+critical gets translated again with the error pointed out. The new translation has to pass the same rules
+and beat the previous one in front of a blind judge, in both orders; otherwise the previous one stays.
+Your own manual corrections are never reviewed. This adds to the cost of those texts (the analysis already
+accounts for it), and its marks aren't infallible: they're there to decide what to redo, not as a quality
+grade.
+
+**Text hardcoded in mod code** (optional): turn on "Include text hardcoded in mod code" under "Advanced
+options" and click **More ▸ Install the support mod**. The app translates the phrases it finds in mods'
+code, and the support mod displays them in Spanish in chat, the action bar and tooltips. It only changes a
+text if it's **identical** to the one in the table (there's no live or online translation), recognizes
+phrases with `%s`/`%d` placeholders as templates, also changes the button text of a screen when it opens
+and, on Forge and NeoForge, tooltips that don't belong to items; text a screen draws directly can't be
+changed without Mixin and is left alone. For now it exists for Forge 1.12.2, 1.16.5, 1.17.1, 1.18.2,
+1.19.2 and 1.20.1, NeoForge 1.20.1, 1.21 through 1.21.11 and 26.1 through 26.3, and Fabric 1.19.4, 1.20
+through 1.20.6, 1.21 through 1.21.11 and 26.1 through 26.3. Quilt loads Fabric mods through Quilted Fabric
+API (up to 1.21.1) and hasn't been tested on Quilt itself. It can't exist for Fabric 1.16.5, 1.18.2 or
+1.19.2: Fabric API has no client chat event in those versions, and the app says so. **More ▸ Remove the
+support mod** takes it out of the mods folder; from the command line: `modpackes instalar-runtime PATH
+[--quitar]`, and `--java` on `analizar`/`traducir`. To check it in-game, with the mod installed and the
+game in Spanish, type `/tellraw @s "TPA request expired!"` (or any phrase from the table).
+
+**Exhaustive script mode** (optional, under "Advanced options" or with `--exhaustivo`): also translates
+KubeJS script phrases whose use isn't understood (for example, text passed through a function the pack
+defines itself). This can touch script logic, which is why it's off by default; everything is still backed
+up and can be restored with "Restore the original."
+
+**More ▸ What's still in English** (or `modpackes cobertura PATH [--java]`) lists what doesn't get
+translated and why, without changing anything: script phrases whose use isn't understood, phrases inside
+other mods' commands (e.g. `emberstextapi queue`), whose format the app doesn't recognize and so leaves
+alone, and text hardcoded in mods' code, which a resource pack can't reach. The analysis step already
+warns about script phrases.
+
+**What changed since the last translation:** when a new version of the modpack comes out, just click
+"Analyze" again. Below the cost you'll see a line like "Since the last translation (2026-11-12): 40 new, 3
+changed, 5 deleted." The detail, per mod and per quest/book/script file, comes from `modpackes cambios
+PATH`, which writes nothing. There you'll see the new keys, the changed ones, the deleted ones, and what it
+would cost to translate just that difference. Applying it is as simple as clicking "Translate": whatever's
+already in memory isn't paid for again. To compare, every translation stores a short hash of each English
+text (never the text itself) in the pack's marker file (`resourcepacks/Traduccion_ES/traductor_es.json`).
+If the pack was translated with an older version of the app that doesn't have that index, anything not in
+memory is counted as new.
+
+**More ▸ Restore the original** returns quests, scripts and the modpack's own books to the modpack's text.
+A file that changed after being translated (because you updated the modpack or edited it by hand) is never
+overwritten: it's left as-is, and the notice names it. To remove mod translations, just disable the
+resource pack.
+
+**More ▸ Corrections…** searches any text in memory (in English or in Spanish) and lets you fix its
+translation by hand. A correction overrides everything else, applies to every quest, book and mod where
+that text shows up, and takes effect the next time you translate, for free. If a correction is missing one
+of the original's codes (`%s`, `§a`, `$(l)`…), it isn't saved, so it can't break the game.
+
+> [!NOTE]
+> The executable has no digital signature, so Windows SmartScreen may warn you the first time. Click
+> "More info" → "Run anyway". You can verify the file with the SHA-256 included on each release page, or
+> with `gh attestation verify ModpackES-instalador.exe -R Consterna/ModpackES` (or
+> `ModpackES-portable.zip`), which confirms this repository's GitHub Actions built it.
+
+## Engines
+
+| Engine | Key | Cost | Notes |
+|---|---|---|---|
+| **Gemini** (default) | Yes, from Google AI Studio | What "Analyze" estimates; half that with "Cheaper, but slower" | The most tested: Farming Crossing 4 was translated with it |
+| **OpenRouter** | Yes | Depends on the model you pick | Gives access to many models with a single account |
+| **DeepSeek** | Yes | Per its price list | Replies in plain JSON; the validator checks every text the same way |
+| **LM Studio** / **Ollama** | No | Free | The model runs on your own PC, no internet needed. Quality depends on the model and your hardware |
+| **Any other OpenAI-compatible server** | Optional | Depends on the server | Any server exposing `/v1/chat/completions` |
+
+Every engine gets the same instructions and goes through the same quality rules: anything that loses a
+code or comes back in English is discarded. With small local models (under roughly 7 billion parameters)
+it's more likely that the JSON format breaks and more text is left in English; LM Studio's own
+documentation warns about the same thing.
+
+**Recommended local model: Gemma 4 E2B** (Google's QAT Q4_0 build, Apache 2.0 license). In a measurement
+with 400 real mod texts, CPU only, it translated 397 of them, with a chrF of 73.7. It used 3.7 GB of RAM
+and took about 8 minutes. Gemma 4 E4B scored one point higher (a difference that doesn't stand out from
+noise), but takes twice as long and needs almost 6 GB; Qwen3.5 4B landed clearly below both. If you use
+`llama-server`, start it with `--reasoning off`: without that, Gemma "thinks" before every reply and runs
+about 14 times slower. Details in [docs/calidad.md](docs/calidad.md).
+
+## Cost
+
+With `gemini-3.8-flash`, a large modpack (around 800,000 characters to translate) costs roughly **US$2 to
+2.5**, and half that with the "Cheaper, but slower" option (Batch API), which can take anywhere from
+minutes to hours. A small modpack costs a few cents. These are estimates based on Google's November 2026
+pricing: starting January 1, 2027 Google doubles the price of gemini-3.8-flash, and the app already
+accounts for that. The "Analyze" button calculates your modpack's cost before spending anything, as a
+range (the exact figure depends on how much the model reasons).
+
+Gemini's free tier is fine for trying it out, but it has per-minute and per-day request limits that a
+large modpack blows through right away. With billing enabled (tier 1), it translates in one go.
+
+> [!IMPORTANT]
+> Gemini's API terms require you to be **18 or older**. If you're younger, use a local engine (LM Studio or
+> Ollama), which never sends anything outside your PC.
+
+## Multiplayer
+
+Quests and server-side scripts are read by the server. "More ▸ Server kit…" builds a `.zip` with those
+files already translated, the resource pack for players, and instructions. "Export pack…" produces just
+the resource pack, ready to publish: with `pack.png`, a `LEEME.txt` (readme noting it's a machine
+translation, whether a person reviewed it, which engines were used, and credits), the modpack's version in
+the file name, and `supported_formats` in `pack.mcmeta` for versions that use it (1.20.2 through 1.21.8).
+
+> [!WARNING]
+> Before **publishing** the pack or the kit, check the license of the modpack and its mods: a translation
+> counts as a derivative work, and many licenses (all-rights-reserved, CC-BY-ND) don't allow publishing one
+> without the author's permission. Platforms have their own rules too: Modrinth, for instance, doesn't
+> allow projects made mostly with AI and requires AI-generated content to be flagged. The safe approach is
+> to review the translation by hand and ask for permission. Using it yourself, or on your own server, needs
+> no publishing at all.
+
+## Sharing a translation
+
+One person translates and pays; everyone else applies it for free.
+
+- **"More ▸ Export translation package…"** saves a `.modpackes.zip` with the part of your memory that
+ modpack uses, your corrections to those texts, your glossary, and the pack's info (name, version,
+ Minecraft version, dialect, models used, and whether it was reviewed). If you also translated the Spain
+ variant, it's included separately. It carries nothing from the mods or the modpack itself.
+- **"More ▸ Import translation…"** applies a `.modpackes.zip` without calling any engine: it saves it to
+ your memory and writes the translation. Your own corrections and glossary terms are never overwritten.
+ If the package is from a different version of the modpack, it warns you: whatever changed stays in
+ English until you translate it. If it includes the Spain variant, `es_es` gets it even if you didn't
+ check that option.
+- It can also import a **Spanish resource pack** (`.zip` or folder), even one that isn't active in-game,
+ including its Patchouli books: its text gets matched up with your mods' English and goes into memory the
+ same way.
+
+The modpack's name and version are read from BetterCompatibilityChecker (`config/bcc-common.json`,
+`bcc.json` or `bcc-common.toml`), from Prism, from CurseForge, or from `modrinth.index.json`; if none of
+those exist, the folder name is used instead.
+
+## FAQ
+
+
+Can it break my modpack?
+
+Every file that gets changed is backed up first in `traductor_es/respaldo` inside the instance, and
+"More ▸ Restore the original" brings them back. A backup is never overwritten: if the modpack was updated,
+the old one moves to `traductor_es/anteriores/`, one folder per update; once a translation finishes, the
+ones no longer needed are deleted, always keeping the last 3 and anything under 90 days old. The backup
+log has a duplicate (`registro.copia.json`) in case it gets corrupted. Files are rewritten losslessly (only
+the translated texts change), and the tests validate the result with the game's actual parsers (Gson and
+FTB Library's SNBT).
+
+
+
+What happens when the modpack updates?
+
+Analyze and translate again. Whatever was already translated comes out of memory for free, and only the
+new part is paid for.
+
+
+
+What gets sent, and to whom?
+
+Only the texts that need translating, with their codes swapped for placeholders, the mod's key as context,
+and the setting description if you wrote one. They go only to the engine you picked; with LM Studio or
+Ollama nothing leaves your PC. Nothing else is sent. On startup, the app checks GitHub for a new version
+(without sending any of your data); this can be turned off in the gear menu, under "Notify me of new
+versions on startup".
+
+Keep in mind that, under Google's terms, data from Gemini's free tier may be used to improve their
+products, with human review; with billing enabled, it isn't. In the European Economic Area, Switzerland
+and the UK, the paid-tier terms always apply. The texts being sent belong to the mod authors: check the
+terms of whichever provider you use.
+
+
+
+Why did a text stay in English?
+
+Because the translation didn't pass the quality rules (it lost a code, changed what a command does, or was
+still in English) even after retries. That's better than putting in text that breaks the game. You can
+translate again later: only what's still pending gets retried.
+
+
+
+Does it work on Linux or macOS?
+
+The `.exe` is for Windows. The code is Python and almost all of it is cross-platform, but launcher
+detection and key storage have only been tested on Windows.
+
+
+## Command line
+
+From the source code (see [Development](#development)):
+
+```
+uv run modpackes instancias
+uv run modpackes analizar "INSTANCE PATH"
+uv run modpackes cambios "PATH" [--json] # what changed since the last translation, and the cost (read-only)
+uv run modpackes traducir "PATH" [--dialecto es_es | --tambien-es-es] [--solo misiones,libros] [--lotes] [--modelo gemini-3.5-flash-lite] [--contexto "cozy farming"] [--revisar] [--calidad economico|equilibrado|maximo]
+uv run modpackes restaurar "PATH"
+uv run modpackes cobertura "PATH" [--java] # what's still in English and why (read-only)
+uv run modpackes glosario listar | agregar "Death Knights" "Caballeros de la Muerte" | quitar "Fluix" | importar terminos.json
+uv run modpackes exportar "PATH" [FILE.zip] [--revisado] [--kit] # a pack ready to publish (or a server kit)
+uv run modpackes paquete exportar "PATH" [FILE.modpackes.zip] [--revisado] [--dialecto es_es]
+uv run modpackes paquete importar "PATH" FILE.modpackes.zip|PACK.zip|FOLDER [--no-activar] # no API needed
+uv run modpackes clave guardar [--motor openrouter]
+uv run modpackes modelos [--motor ollama]
+```
+
+> The command and flag names themselves are in Spanish — they're the app's real interface, not translated
+> placeholders.
+
+With another engine: `--motor openrouter|deepseek|lmstudio|ollama|personalizado`, `--modelo NAME` and, for
+the custom one, `--direccion http://server/v1`. The key can also be passed as an environment variable:
+`GEMINI_API_KEY` or `MODPACKES_CLAVE_` (for example `MODPACKES_CLAVE_OPENROUTER`).
+
+The **user glossary** (`glosario`) holds the terms you want translated the same way every time, including
+names that shouldn't be translated at all (`"Fluix": "Fluix"`). They override everything else, and if a
+translation doesn't use them, that text gets retried with a warning. They're stored in `glosario.json`
+inside the app's data folder and apply to every modpack you translate.
+
+`traducir --simular` runs a full dry run with no API calls (it just prefixes each text with "ES"); use it
+on a copy. It saves nothing to the translation memory, so the next real translation doesn't reuse those
+texts.
+
+## How it protects your modpack
+
+- Formatting codes (`%s`, `§a`, `&c`, `$(l)`, `{image:…}`, `${…}`, commands, ids, links) are swapped for
+ placeholders before the text is sent out. A translation that loses or invents a placeholder is discarded.
+- Every translation passes quality rules: it can't be empty, still be in English, have a suspicious length,
+ or introduce new line breaks. Whatever fails is retried, and if it's still wrong, it's left in English.
+- Files are rewritten losslessly: only the translated texts change, and everything else stays byte-for-byte
+ identical.
+- A glossary with the official Minecraft and mod names keeps the same terms consistent across quests, books
+ and scripts. Terms that repeat in a modpack's own names are translated first and locked in, and the
+ engine is told where each text comes from.
+- Checks that don't depend on the model: proper nouns from the glossary keep their capitalization ("the
+ Quantum Ring"), names that shouldn't be translated ("Creeper", a boss's name) are protected, and a name
+ that repeats a word ("Improved Health Improvement") gets retried, asking the model to fix only what
+ failed.
+- Against a 148-text reference bank, Gemini 3.8 Flash translated 100% of it with a chrF of 85 and
+ respected every glossary term: details and limits of that measurement are in
+ [docs/calidad.md](docs/calidad.md).
+
+## Development
+
+Requirements: [uv](https://docs.astral.sh/uv/) (installs Python 3.13 on its own) and, for the tests that
+use the game's own parsers, a JDK 17 or newer (the one bundled with Prism Launcher works fine).
+
+```
+uv sync
+uv run python scripts/verificar.py # ruff, strict pyright, compileall and pytest with coverage
+uv run python scripts/verificar.py --rapido # without the Java tests or the real-world corpus
+uv run python scripts/construir_exe.py # dist/ModpackES-portable.zip (the program's folder)
+uv run python scripts/construir_exe.py --instalador # dist/ModpackES-instalador.exe (needs Inno Setup 6.7+)
+uv run python scripts/probar_exe.py # extracts the zip, launches the .exe and analyzes a test modpack
+uv run python scripts/probar_exe.py --instalador # installs into a temp folder, tests it, then uninstalls
+```
+
+The app's data (memory, glossary, preferences and `registro.log`) lives in `%LOCALAPPDATA%\traductor-es`;
+the `TRADUCTOR_ES_DATOS` variable moves it elsewhere. The Java tests look for Gson in Prism Launcher's
+libraries, or use whatever jar `TRADUCTOR_ES_GSON` points to (which is how they run in CI). Read
+[CONTRIBUTING.md](CONTRIBUTING.md) and the [code of conduct](CODE_OF_CONDUCT.md) before sending changes.
+
+## Credits
+
+Ideas drawn from [MinecraftModsLocalizer](https://github.com/Y-RyuZU/MinecraftModsLocalizer) (MIT),
+[MineAI Modpack Translator](https://github.com/Thedrezik/MineAI-Modpack-Translator) (MIT),
+[mc-questing-mod-localizer](https://github.com/peunsu/mc-questing-mod-localizer) (MIT),
+[mc_translator](https://github.com/chrysoljq/mc_translator) (GPL-3.0, the modpack-setting idea) and
+[AutoTranslation](https://github.com/yuefdev/minecraft-ai-translator) (AGPL, ideas only: user corrections
+and local models). The automatic review follows the GEMBA-MQM method (Kocmi and Federmann, WMT 2023). No
+code was copied from any of them. Each mod's format was verified against its own source code (FTB Quests,
+BetterQuesting, HQM, Heracles, Patchouli, Mantle, GuideME, Lavender). The libraries the app uses are listed
+in [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).
+
+## License
+
+© 2026 Cristian. ModpackES is free software under the
+[GNU General Public License v3.0 or later](LICENSE): you can use it, study it, modify it and share it, as
+long as any version you distribute stays free, with its source code and this same license.
+
+ModpackES is not affiliated with Mojang Studios, Microsoft, or Google. Minecraft is a trademark of Mojang
+Studios.
+
+---
+
+*This is a translation of the project's [Spanish README](README.md), kept up to date on a best-effort
+basis. The Spanish version is authoritative if the two ever disagree.*
diff --git a/README.md b/README.md
index 15571a7..fef6ea2 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,8 @@ todos los mods, con un par de clics.


+**Español** · [English](README.en.md) · [中文](README.zh-CN.md)
+
[**Descargar el instalador**](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-instalador.exe)
· [versión portable](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-portable.zip)
· [Cómo se usa](#cómo-se-usa) · [Preguntas frecuentes](#preguntas-frecuentes) · [Cambios](CHANGELOG.md)
diff --git a/README.zh-CN.md b/README.zh-CN.md
new file mode 100644
index 0000000..9c71f03
--- /dev/null
+++ b/README.zh-CN.md
@@ -0,0 +1,341 @@
+
+
+
+
+# ModpackES
+
+**将 Minecraft 整合包翻译成西班牙语:** 任务、攻略书、KubeJS 脚本,以及所有模组的文本,只需点击几下。
+
+*(应用程序界面和下面显示的命令均为西班牙语——原因见[常见问题](#常见问题)。)*
+
+[](https://github.com/Consterna/ModpackES/actions/workflows/ci.yml)
+[](https://github.com/Consterna/ModpackES/releases/latest)
+[](LICENSE)
+
+
+
+[Español](README.md) · [English](README.en.md) · **中文**
+
+[**下载安装程序**](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-instalador.exe)
+· [便携版](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-portable.zip)
+· [使用方法](#使用方法) · [常见问题](#常见问题) · [更新日志](CHANGELOG.md)
+
+
+
+
+
+
+
+
+## 功能
+
+ModpackES 会读取你的整合包,找出所有仍是英文的内容,并用 Google 的 Gemini 或任何兼容 OpenAI 的引擎进行翻译,
+包括可以在你自己电脑上免费运行的模型(LM Studio、Ollama)。它支持**任意版本**(1.7.10 到 26.x)、
+**任意加载器**(Forge、NeoForge、Fabric、Quilt)和**任意启动器**,并会同时写入游戏的全部七种西班牙语变体。
+
+- **不修改模组的 jar 文件。** 模组相关的内容会放进单独的资源包。
+- **一切都有备份。** 一个按钮就能把整合包恢复到原始文本。
+- **不会重复付费。** 已经翻译过的内容会保存在会被重复使用的记忆库中,甚至可以跨整合包复用(来自其他整合包的内容,只会复用那些没有疑点的部分)。
+- **保留原有格式。** 颜色、链接、变量和命令都会完整保留;没有通过质量规则的内容会重试,或者宁可保留英文也不破坏游戏。
+
+| 内容 | 格式 | 保存位置 |
+|---|---|---|
+| 模组文本(物品、方块、菜单、提示框) | `lang/*.json`(1.13 及以上)和 `.lang`(1.12 及更早版本),包括嵌套的 jar 文件(也包括 Fabric 和 Quilt 在 `META-INF/jars` 之外声明的 jar)、KubeJS,以及整合包自带的资源包 | `Traduccion_ES` 资源包 |
+| 任务 | FTB Quests(章节内的文本、1.21+ 的 `lang/` 文件夹及其 26.x 的 JSON5 版本、1.12 的 NBT,以及奖励物品的名称,1.12 同样适用;但任务要求交出的物品名称永远不翻译,因为 FTB Quests 会比对该物品的 NBT)、BetterQuesting、HQM、Heracles | 原地翻译,并有备份 |
+| 攻略书 | Patchouli(也包括某些模组自带模板显示的字段,例如 Blood Magic 的 `heading`)、Mantle(Tinkers)、Citadel(Alex's Mobs)、GuideME(AE2)、Lavender。Modonomicon 通过语言键工作 | 资源包(如果是整合包自带的书,则原地翻译) |
+| KubeJS 脚本 | 玩家能看到的内容:`tell`、`notify`、`displayName`、`Text.of`、提示框、JEI/REI/EMI 的信息、REI 分组的名称、`tell` 之前由多段拼接而成的消息,以及 `runCommand` 中 `tellraw`、`title` 和 `say` 的文本 | 原地翻译,并有备份 |
+| CraftTweaker 脚本 | `scripts/` 目录下 `.zs` 文件中可见的部分:`addTooltip`、`addShiftTooltip`、`displayName`、`setDisplayName`、JEI 描述(`addDescription`、`addInfo`)以及 `game.setLocalization` 的文本 | 原地翻译,并有备份 |
+| 数据包与小贴士 | 函数(`.mcfunction`:`tellraw`、`title`、`say`)、成就的标题和描述、加载界面的小贴士(Tips 模组),以及战利品表给出的物品名称、描述和书面书籍。它们通过自身的路径结构被识别(`data/<命名空间>/functions/…`),无论位于 `kubejs/data`、`global_packs`、`datapacks`、`config/openloader`,还是某个存档自带的数据包中,松散文件或 `.zip` 内都可以。文本组件在 JSON(1.21.4 及以前)和 SNBT(1.21.5 起)两种格式下都有效 | 原地翻译,并有备份 |
+| 主菜单(FancyMenu 和 Drippy) | 按钮文本(`label`、`hoverlabel`、`description`),以及 `config/fancymenu/customization/` 下 v3 和 v2 两种布局中 `source_mode = direct` 的文本和欢迎语。FancyMenu 自带的占位符、`%#…%` 颜色代码和 `%n%` 换行符保持不变;已经使用语言键的内容会被跳过 | 原地翻译,并有备份 |
+| 光影选项 | Iris 或 Oculus 下光影包的选项菜单(`shaders/lang/en_US.lang`),优先使用游戏自身的语言。如果两个光影包用同一个键对应不同文本,则不会翻译;光影包自带的西班牙语会被直接复制 | `Traduccion_ES` 资源包(光影包本身不会被修改) |
+| 模组描述 | 模组列表中每个模组的描述,使用 Mod Menu(Fabric 和 Quilt)以及 1.20.4 起 NeoForge 读取的键。Forge 没有对应的键 | `Traduccion_ES` 资源包 |
+| 加载器文本 | NeoForge 或 Forge 自身的菜单、命令和通用标签名称,以及 FancyModLoader 的消息,它们的 jar 文件位于启动器的 `libraries/` 目录下。已有的西班牙语会被复制,其余部分会被翻译 | `Traduccion_ES` 资源包 |
+| Origins 模组 | 起源(origin)、能力(power)和层(layer)的名称与描述(`data/<命名空间>/origins`、`powers`、`origin_layers`),存在于 jar 和数据包中,使用每个版本对应的键:Origins 1.10 及以前、以及 Forge 移植版中为纯文本本身,1.13 起为 `origin.<命名空间>.<路径>.name`。在 1.11 和 1.12 中,起源是硬编码文本,保持不变 | `Traduccion_ES` 资源包(数据文件本身不会被修改) |
+| 其他菜单 | CustomMainMenu(1.12:`config/CustomMainMenu/*.json` 中的按钮、标签和欢迎语)以及 BisectHost Menu 的服务器公告(`config/bhmenu-client.toml`) | 原地翻译,并有备份 |
+| 硬编码在模组代码中的文本 | 模组在其 Java 代码中直接写入的聊天消息、动作栏文本、提示框和按钮文本。资源包无法触及这些内容:应用会把它们翻译进一个表格,由 **ModpackES Runtime** 支持模组读取(仅客户端,支持 Forge 1.12.2、1.16.5、1.17.1、1.18.2、1.19.2 和 1.20.1,NeoForge 1.20.1、1.21 至 1.21.11 以及 26.1 至 26.3,以及 Fabric 1.19.4、1.20 至 1.20.6、1.21 至 1.21.11 以及 26.1 至 26.3) | 资源包内的表格;只有在你主动要求时才会安装该模组 |
+
+模组已自带的西班牙语内容不会被改动,如果存在某个变体(例如 `es_es`),会被免费复制给其他变体。那些把文本保存在
+jar 内部的旧版 Patchouli 书籍,在不修改模组的情况下无法翻译:应用会告诉你哪些是这种情况。
+
+你选择的西班牙语变体(默认是拉丁美洲西班牙语)会写入游戏读取的所有西班牙语文件。勾选**「同时为西班牙翻译一份独立版本」**
+(`--tambien-es-es`)后,`es_es` 会得到自己的翻译,使用西班牙本土的游戏用词(如「Roca」「objeto」……)。第一次会多花
+一次翻译的费用;之后会直接从记忆库中取出,不再收费。这只适用于那些每种语言各有一个文件的内容(模组、书籍,以及
+FTB Quests 的 `lang/` 文件夹)。直接写在章节里的脚本和任务只有一种语言,会保持你选择的那个西班牙语变体。
+
+## 使用方法
+
+1. 下载并安装
+ [`ModpackES-instalador.exe`](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-instalador.exe):
+ 它只为你的用户账户安装,不需要管理员权限,启动也更快。如果你不想安装任何东西,可以下载便携版
+ [`ModpackES-portable.zip`](https://github.com/Consterna/ModpackES/releases/latest/download/ModpackES-portable.zip),
+ 解压整个 zip 文件后打开 `ModpackES/ModpackES.exe`。它以文件夹的形式提供,而不是一个单独的 `.exe` 文件,这是出于
+ 安全考虑:从「下载」文件夹直接打开的程序,可能会加载其他程序留在那里的文件。
+2. 关闭 Minecraft,打开 ModpackES。
+3. 在左侧栏选择实例:每张卡片会显示 Minecraft 版本、加载器,以及是否已经翻译过。来自 Prism Launcher、MultiMC、
+ CurseForge、Modrinth、ATLauncher、GDLauncher 和官方启动器的实例会自动从它们各自的常规文件夹中显示出来。如果你的
+ 实例没有出现(例如因为你在启动器设置里移动了实例文件夹),把文件夹拖进窗口,或使用「选择文件夹…」。
+4. 用右上角的标签选择引擎(见[引擎](#引擎))。使用 Gemini 时,点击「保存密钥…」,粘贴你在
+ [aistudio.google.com/apikey](https://aistudio.google.com/apikey) 获取的密钥;它会保存在 Windows 凭据管理器中,
+ 绝不会写入文件。使用 LM Studio 或 Ollama 则完全不需要密钥:启动它的服务器,点击「测试连接」来选择模型。
+5. 点击**「分析(免费)」**。模组、书籍、任务和脚本的卡片会显示缺少多少文本,按钮上会显示预计花费。取消勾选你不想
+ 翻译的部分。
+6. 点击**「翻译」**。完成后会激活资源包,并把游戏切换为西班牙语(可以在「高级选项」里修改)。
+
+如果过程中断或被你取消了,重新分析再翻译一次即可:会从上次停下的地方继续。上面的步骤(引擎、分析、翻译、完成)
+会提示你当前处于哪一步,Ctrl+Enter 可以按下主按钮。
+
+顶部的齿轮图标可以切换主题(跟随 Windows、深色或浅色)以及新版本提醒。
+
+可选的**「背景设定」**字段会告诉引擎这个整合包是关于什么的:「温馨的农场,友好的语气;『Bells』是村庄的货币」。它有助于
+把握语气,以及整合包特有的术语,并按实例单独保存。
+
+**质量**(在「高级选项」中,也对应 `--calidad`):
+- **均衡**,默认档位:带有疑点的内容会被修正一次。只有在盲测评审更偏好修正版时,修正才会被保留。大约多花 5% 的
+ 费用。
+- **最高:** 此外,每段简短文本都会翻译三次,并通过共识选出结果,任务和书籍也会被复查。费用多 30%,加上复查的
+ 费用。在 Gemini 3.8 Flash 上没有带来可测量的提升:这是给犹豫不定的模型准备的选项。
+- **经济:** 只做自动修正。
+
+**自动复查**(可选,在「高级选项」中,仅适用于任务和书籍):翻译完成后,会再向引擎发出一次请求,按照
+[GEMBA-MQM](https://aclanthology.org/2023.wmt-1.64) 的方式评判每一段新翻译(准确性、术语、流畅度和风格,严重程度
+分为轻微、严重或致命),被判定为致命的会指出错误并重新翻译。新译文必须通过同样的规则,并在盲测评审中(两种呈现
+顺序下)都胜过旧译文,否则会保留旧译文。
+你自己手动修正的内容永远不会被复查。这会提高那部分文本的费用(分析阶段已经把它计算在内),而且它给出的标记并非
+绝对准确:它的作用是帮你决定哪些值得重做,而不是质量认证。
+
+**模组代码里写死的文本**(可选):在「高级选项」中打开「包含写在模组代码中的文本」,然后点击**「更多 ▸ 安装支持
+模组」**。应用会翻译它在模组代码里找到的短语,支持模组则会把西班牙语显示在聊天框、动作栏和提示框里。它只会在文本
+与表格中的内容**完全一致**时才替换(没有实时或联网翻译),能识别带有 `%s` 或 `%d` 占位符的短语并当作模板处理,
+打开界面时也会替换按钮文本,在 Forge 和 NeoForge 上还会替换非物品的提示框;由界面直接绘制的文本若不借助 Mixin
+则无法修改,因此不会被处理;目前支持 Forge 1.12.2、1.16.5、1.17.1、1.18.2、1.19.2 和 1.20.1,NeoForge 1.20.1、
+1.21 至 1.21.11 以及 26.1 至 26.3,以及 Fabric 1.19.4、1.20 至 1.20.6、1.21 至 1.21.11 以及 26.1 至 26.3。Quilt 通过
+Quilted Fabric API(最高到 1.21.1)加载 Fabric 模组,尚未在 Quilt 上测试过。Fabric 1.16.5、1.18.2 和 1.19.2 不可能
+支持:这些版本的 Fabric API 没有客户端聊天事件,应用会提示这一点。**「更多 ▸ 移除支持模组」**会把它从 mods 文件夹
+中移除;命令行方式:`modpackes instalar-runtime 路径 [--quitar]`,以及 `analizar`/`traducir` 的 `--java` 参数。要在
+游戏里验证,请在安装了该模组、游戏为西班牙语的情况下输入 `/tellraw @s "TPA request expired!"`(或表格中的任意
+一句)。
+
+**脚本穷举模式**(可选,在「高级选项」中或使用 `--exhaustivo`):也会翻译那些用途不明的 KubeJS 脚本短语(例如经过
+整合包自带函数处理的文本)。这可能会影响脚本逻辑,因此默认关闭;所有改动都有备份,可以用「恢复原文」还原。
+
+**「更多 ▸ 哪些内容仍是英文」**(或 `modpackes cobertura 路径 [--java]`)会列出没有被翻译的内容及原因,而不改动
+任何东西:用途不明的脚本短语、出现在其他模组命令里的短语(例如 `emberstextapi queue`,应用不认识这种格式,因此
+不会处理),以及写死在模组代码中、资源包无法触及的文本。分析阶段已经会提示脚本短语的情况。
+
+**自上次翻译以来发生了什么变化:** 当整合包出了新版本时,只需再点一次「分析」。费用下方会出现类似「自上次翻译
+(2026-11-12)以来:新增 40 条,修改 3 条,删除 5 条。」的提示。详细信息——按模组、按任务/书籍/脚本文件区分——
+可以通过 `modpackes cambios 路径` 获取,该命令不会写入任何内容。在那里你可以看到新增的键、修改过的键、被删除的
+键,以及只翻译这部分差异需要花多少钱。应用它只需点击「翻译」:已经在记忆库中的内容不会再收费。为了进行比较,
+每次翻译都会在整合包的标记文件(`resourcepacks/Traduccion_ES/traductor_es.json`)中保存每段英文文本的简短哈希值,
+绝不会保存文本本身。如果整合包是用更早版本的应用翻译的,没有这个索引,那么记忆库里没有的内容都会被算作新增。
+
+**「更多 ▸ 恢复原文」**会把任务、脚本和整合包自带的书籍恢复成整合包本身的文本。翻译完成之后又发生变化的文件
+(因为你更新了整合包,或是手动编辑过)不会被覆盖:它会保持原样,提示信息会指出是哪个文件。要移除模组的翻译,只需
+停用资源包即可。
+
+**「更多 ▸ 修正…」**可以在记忆库中搜索任意文本(英文或西班牙语),让你手动修改它的翻译。修正会优先于其他一切,
+适用于所有出现过该文本的任务、书籍和模组,并会在你下次翻译时免费生效。如果修正后的内容缺少原文中的某个代码
+(`%s`、`§a`、`$(l)`……),则不会被保存,以免破坏游戏。
+
+> [!NOTE]
+> 可执行文件没有数字签名,所以 Windows SmartScreen 第一次运行时可能会发出警告。点击「更多信息」→「仍要运行」。
+> 你可以用每个版本发布页面上提供的 SHA-256 校验值,或者运行
+> `gh attestation verify ModpackES-instalador.exe -R Consterna/ModpackES`(或 `ModpackES-portable.zip`),
+> 以确认该文件确实是由本仓库的 GitHub Actions 构建的。
+
+## 引擎
+
+| 引擎 | 密钥 | 费用 | 备注 |
+|---|---|---|---|
+| **Gemini**(默认) | 需要,来自 Google AI Studio | 「分析」按钮估算的费用;勾选「更便宜,但更慢」可减半 | 测试最充分的引擎:Farming Crossing 4 就是用它翻译的 |
+| **OpenRouter** | 需要 | 取决于你选择的模型 | 一个账号即可访问很多种模型 |
+| **DeepSeek** | 需要 | 按其官方价目表计算 | 以简单的 JSON 格式返回;校验器对每段文本的处理方式相同 |
+| **LM Studio** / **Ollama** | 不需要 | 免费 | 模型在你自己的电脑上运行,无需联网。质量取决于模型和硬件配置 |
+| **其他兼容 OpenAI 的服务** | 可选 | 取决于该服务 | 任何提供 `/v1/chat/completions` 接口的服务器 |
+
+所有引擎接收的指令相同,也都要经过同样的质量规则:丢失代码或恢复成英文的译文都会被舍弃。使用较小的本地模型
+(参数量低于约 70 亿)时,JSON 格式出错以及留下更多英文文本的概率会更高;LM Studio 自己的文档也提到了同样的
+问题。
+
+**推荐的本地模型:Gemma 4 E2B**(Google 的 QAT Q4_0 版本,Apache 2.0 许可证)。在一次使用 400 段真实模组文本、
+仅用 CPU 的测试中,它翻译了其中 397 段,chrF 得分为 73.7,使用了 3.7 GB 内存,耗时约 8 分钟。Gemma 4 E4B 的得分
+高出一分(这个差距与噪音难以区分),但耗时是前者的两倍,需要将近 6 GB 内存;Qwen3.5 4B 的表现明显更差。如果你
+使用 `llama-server`,请加上 `--reasoning off` 启动:否则 Gemma 会在每次回复前先「思考」,速度会慢大约 14 倍。
+详情见 [docs/calidad.md](docs/calidad.md)(西班牙语)。
+
+## 费用
+
+使用 `gemini-3.8-flash` 时,一个大型整合包(大约 80 万个待翻译字符)的费用大约在** 2 到 2.5 美元**之间,勾选
+「更便宜,但更慢」(批处理 API)可以减半,不过可能需要几分钟到几个小时不等。小型整合包只需几美分。这些是基于
+Google 2026 年 11 月价格的估算:从 2027 年 1 月 1 日起,Google 会将 gemini-3.8-flash 的价格翻倍,应用已经把这一点
+考虑在内。「分析」按钮会在花费任何费用之前,以一个区间的形式计算出你这个整合包的预计费用(具体数字取决于模型的
+推理程度)。
+
+Gemini 的免费额度足够用来试用,但它的每分钟和每日请求数限制,大型整合包很快就会超出。开启计费(第 1 级)后可以
+一次性完成翻译。
+
+> [!IMPORTANT]
+> Gemini API 的使用条款要求用户年满 **18 周岁**。如果你未满 18 岁,请使用本地引擎(LM Studio 或 Ollama),它们
+> 不会把任何内容发送到你的电脑之外。
+
+## 多人游戏
+
+任务和服务器端脚本是由服务器读取的。**「更多 ▸ 服务器套件…」**会生成一个 `.zip`,其中包含已翻译好的这些文件、
+给玩家使用的资源包,以及使用说明。**「导出资源包…」**只会生成资源包本身,可以直接发布:包含 `pack.png`、一个
+`LEEME.txt`(说明这是机器翻译、是否经过人工审核、使用了哪些引擎,以及致谢信息)、文件名中包含整合包版本号,以及
+在支持该字段的版本(1.20.2 到 1.21.8)中,`pack.mcmeta` 里的 `supported_formats`。
+
+> [!WARNING]
+> 在**发布**资源包或套件之前,请检查整合包及其模组的许可证:翻译属于一种改编作品,许多许可证(保留所有权利、
+> CC-BY-ND)在没有作者许可的情况下不允许发布。各平台也有自己的规则:例如 Modrinth 不允许主要由 AI 制作的项目,
+> 并要求标注 AI 生成的内容。谨慎的做法是手动审核翻译并征得作者许可。如果只是自己使用,或在自己的服务器上使用,
+> 则完全不需要发布任何内容。
+
+## 分享一份翻译
+
+一个人翻译并付费,其他人可以免费使用这份翻译。
+
+- **「更多 ▸ 导出翻译包…」**会保存一个 `.modpackes.zip`,其中包含你记忆库中该整合包用到的部分、你对这些文本做的
+ 修正、你的术语表,以及整合包的信息(名称、版本、Minecraft 版本、方言、使用的模型,以及是否经过审核)。如果你
+ 也翻译了西班牙本土版本,它会单独包含在内。它不会携带模组或整合包本身的任何内容。
+- **「更多 ▸ 导入翻译…」**会在不调用任何引擎的情况下应用一个 `.modpackes.zip`:它会保存到你的记忆库中并写入
+ 翻译。你自己的修正和术语表条目永远不会被覆盖。如果这个包来自整合包的其他版本,它会提示你:发生变化的部分会
+ 保持英文,直到你重新翻译。如果包中带有西班牙本土版本,即使你没有勾选那个选项,`es_es` 也会得到它自己的那
+ 一份。
+- 它还可以导入一个**西班牙语资源包**(`.zip` 或文件夹),即使它在游戏中并未启用,包括其中的 Patchouli 书籍:
+ 它的文本会和你的模组英文内容配对,并以同样的方式进入记忆库。
+
+整合包的名称和版本会从 BetterCompatibilityChecker(`config/bcc-common.json`、`bcc.json` 或 `bcc-common.toml`)、
+Prism、CurseForge,或 `modrinth.index.json` 中读取;如果都没有,则使用文件夹的名称。
+
+## 常见问题
+
+
+它会不会弄坏我的整合包?
+
+每一个被修改的文件,都会先在实例内的 `traductor_es/respaldo` 中备份,**「更多 ▸ 恢复原文」**可以把它们还原回去。
+备份永远不会被覆盖:如果整合包更新过,旧的备份会移动到 `traductor_es/anteriores/`,每次更新对应一个文件夹;翻译
+结束时,不再需要的备份会被删除,但始终会保留最近 3 次,以及 90 天以内的备份。备份记录还有一份副本
+(`registro.copia.json`),以防原文件损坏。文件会以无损的方式重写(只有被翻译的文本会改变),测试会用游戏真实
+使用的解析器(Gson 和 FTB Library 的 SNBT 解析器)来验证结果。
+
+
+
+整合包更新之后会怎样?
+
+重新分析、重新翻译即可。已经翻译过的内容会从记忆库中免费取出,只需为新增的部分付费。
+
+
+
+会发送什么内容,发给谁?
+
+只会发送需要翻译的文本,其中的代码已被替换为占位符,并附带模组的键作为上下文,以及你写的背景设定(如果有)。
+它们只会发给你选择的引擎;使用 LM Studio 或 Ollama 时,不会有任何内容离开你的电脑。不会发送其他任何东西。应用
+启动时会向 GitHub 查询是否有新版本(不会发送你的任何数据);可以在齿轮菜单的「启动时检查新版本」中关闭。
+
+请注意,根据 Google 的条款,Gemini 免费额度产生的数据可能会经过人工审核后用于改进其产品;开启计费后则不会。在
+欧洲经济区、瑞士和英国,始终适用付费层级的条款。被发送的文本内容属于模组作者:请查阅你所使用服务商的条款。
+
+
+
+为什么有些文本还是英文?
+
+因为这段翻译在多次重试后仍未通过质量规则(丢失了某个代码、改变了命令的含义,或者仍然是英文)。这比强行放入
+可能破坏游戏的文本要好。你可以稍后再翻译一次:只会重试还没成功的部分。
+
+
+
+支持 Linux 或 macOS 吗?
+
+`.exe` 文件是给 Windows 用的。代码本身是 Python,几乎所有部分都是跨平台的,但启动器检测和密钥保存功能只在
+Windows 上测试过。
+
+
+## 命令行
+
+从源代码运行(见[开发](#开发)):
+
+```
+uv run modpackes instancias
+uv run modpackes analizar "实例路径"
+uv run modpackes cambios "路径" [--json] # 自上次翻译以来发生了什么变化,以及费用(仅读取,不修改)
+uv run modpackes traducir "路径" [--dialecto es_es | --tambien-es-es] [--solo misiones,libros] [--lotes] [--modelo gemini-3.5-flash-lite] [--contexto "温馨的农场"] [--revisar] [--calidad economico|equilibrado|maximo]
+uv run modpackes restaurar "路径"
+uv run modpackes cobertura "路径" [--java] # 哪些内容仍是英文,以及原因(仅读取,不修改)
+uv run modpackes glosario listar | agregar "Death Knights" "Caballeros de la Muerte" | quitar "Fluix" | importar terminos.json
+uv run modpackes exportar "路径" [文件.zip] [--revisado] [--kit] # 可直接发布的资源包(或服务器套件)
+uv run modpackes paquete exportar "路径" [文件.modpackes.zip] [--revisado] [--dialecto es_es]
+uv run modpackes paquete importar "路径" 文件.modpackes.zip|资源包.zip|文件夹 [--no-activar] # 不需要调用 API
+uv run modpackes clave guardar [--motor openrouter]
+uv run modpackes modelos [--motor ollama]
+```
+
+> 命令和参数本身是西班牙语——它们是应用真实的接口,并非翻译后的示例。
+
+使用其他引擎:`--motor openrouter|deepseek|lmstudio|ollama|personalizado`,`--modelo 名称`,对于自定义引擎,还需要
+`--direccion http://服务器地址/v1`。密钥也可以通过环境变量传入:`GEMINI_API_KEY` 或 `MODPACKES_CLAVE_<引擎>`
+(例如 `MODPACKES_CLAVE_OPENROUTER`)。
+
+**用户术语表**(`glosario`)是你希望始终以同样方式翻译的术语,也包括那些不应被翻译的名称
+(`"Fluix": "Fluix"`)。它们优先于其他一切;如果某段译文没有使用它们,该文本会被重试并提示警告。它们保存在
+应用数据文件夹下的 `glosario.json` 中,并对你翻译的所有整合包都生效。
+
+`traducir --simular` 会在不调用任何 API 的情况下完整模拟一次翻译(只会在每段文本前加上「ES」);请在副本上使用
+它。它不会向翻译记忆库写入任何内容,这样下一次真正的翻译就不会复用那些文本。
+
+## 它如何保护你的整合包
+
+- 格式代码(`%s`、`§a`、`&c`、`$(l)`、`{image:…}`、`${…}`、命令、id、链接)在发送文本之前会被替换为占位符。丢失
+ 或凭空捏造占位符的译文会被舍弃。
+- 每段译文都要通过质量规则:不能为空、不能仍是英文、长度不能异常,也不能引入新的换行符。没通过的会被重试,如果
+ 仍然不对,则保留英文。
+- 文件会以无损的方式重写:只有被翻译的文本会改变,其余部分在字节层面完全保持一致。
+- 一份包含 Minecraft 和模组官方名称的术语表,确保任务、书籍和脚本中使用相同的术语。整合包名称中反复出现的术语
+ 会优先翻译并固定下来,引擎在翻译每段文本时都会知道它来自哪里。
+- 不依赖模型本身的检查:术语表中的专有名词会保留其大小写(如「el Anillo Cuántico」),不应翻译的名称
+ (「Creeper」、某个首领的名字)会被保护起来,重复同一个词的名称(如「Mejora de Salud mejorada」)会被重试。
+ 重试时只会要求修正出错的那部分。
+- 在一个包含 148 段参考文本的测试库中,Gemini 3.8 Flash 翻译了 100% 的内容,chrF 得分为 85,并遵守了术语表中
+ 的所有术语:详情和测试的局限性见 [docs/calidad.md](docs/calidad.md)(西班牙语)。
+
+## 开发
+
+所需环境:[uv](https://docs.astral.sh/uv/)(会自行安装 Python 3.13),以及用于运行游戏解析器测试的 JDK 17 或
+更高版本(Prism Launcher 自带的即可)。
+
+```
+uv sync
+uv run python scripts/verificar.py # ruff、严格模式的 pyright、compileall,以及带覆盖率的 pytest
+uv run python scripts/verificar.py --rapido # 不运行 Java 测试,也不使用真实语料库
+uv run python scripts/construir_exe.py # dist/ModpackES-portable.zip(程序所在的文件夹)
+uv run python scripts/construir_exe.py --instalador # dist/ModpackES-instalador.exe(需要 Inno Setup 6.7 及以上)
+uv run python scripts/probar_exe.py # 解压 zip、启动 .exe,并分析一个测试用整合包
+uv run python scripts/probar_exe.py --instalador # 安装到临时文件夹中进行测试,然后卸载
+```
+
+应用的数据(记忆库、术语表、偏好设置和 `registro.log`)保存在 `%LOCALAPPDATA%\traductor-es` 中;
+`TRADUCTOR_ES_DATOS` 这个环境变量可以把它们移到别的文件夹。Java 测试会在 Prism Launcher 的库文件中查找 Gson,
+或者使用 `TRADUCTOR_ES_GSON` 指定的 jar 文件(CI 中就是这样运行的)。在提交更改之前,请阅读
+[CONTRIBUTING.md](CONTRIBUTING.md)(西班牙语)和[行为准则](CODE_OF_CONDUCT.md)。
+
+## 致谢
+
+部分想法来自 [MinecraftModsLocalizer](https://github.com/Y-RyuZU/MinecraftModsLocalizer)(MIT)、
+[MineAI Modpack Translator](https://github.com/Thedrezik/MineAI-Modpack-Translator)(MIT)、
+[mc-questing-mod-localizer](https://github.com/peunsu/mc-questing-mod-localizer)(MIT)、
+[mc_translator](https://github.com/chrysoljq/mc_translator)(GPL-3.0,整合包背景设定这个想法)以及
+[AutoTranslation](https://github.com/yuefdev/minecraft-ai-translator)(AGPL,仅借用想法:用户修正功能和本地
+模型)。自动复查遵循 GEMBA-MQM 方法(Kocmi 和 Federmann,WMT 2023)。没有复制任何项目的代码。每个模组的格式都
+参照其源代码进行了核实(FTB Quests、BetterQuesting、HQM、Heracles、Patchouli、Mantle、GuideME、Lavender)。
+应用所使用的库列在 [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md) 中。
+
+## 许可证
+
+© 2026 Cristian。ModpackES 是基于 [GNU 通用公共许可证 v3.0 或更高版本](LICENSE) 的自由软件:你可以使用、研究、
+修改和分享它,只要你分发的版本依然保持自由、附带源代码,并使用同一份许可证。
+
+ModpackES 与 Mojang Studios、微软或 Google 没有任何关联。Minecraft 是 Mojang Studios 的商标。
+
+---
+
+*本文档是项目[西班牙语版 README](README.md) 的翻译,会尽力保持同步更新。如果两者出现不一致,以西班牙语版本为准。*
diff --git a/SECURITY.en.md b/SECURITY.en.md
new file mode 100644
index 0000000..1cb1db0
--- /dev/null
+++ b/SECURITY.en.md
@@ -0,0 +1,32 @@
+[Español](SECURITY.md) · **English** · [中文](SECURITY.zh-CN.md)
+
+# Security
+
+## Supported versions
+
+Only the latest published version receives fixes.
+
+## Reporting a vulnerability
+
+Don't open a public issue. Use GitHub's private form:
+[Report a vulnerability](https://github.com/Consterna/ModpackES/security/advisories/new).
+
+Describe what happens, how to reproduce it, and which version you're using. You'll get a reply as soon as
+possible, and once it's fixed, the report is published with credit to whoever found it (if they want that).
+
+## How ModpackES handles your data
+
+- Engine keys (Gemini or another provider) are stored in the Windows Credential Manager, one per engine;
+ never in a file or in the app's own settings.
+- The text to be translated is sent only to the engine you pick (Gemini, another provider, or a server
+ running on your own PC).
+- On startup, the app asks GitHub's public API for the latest version, without sending any of your data;
+ this can be turned off. It never downloads or installs anything on its own.
+- Everything else (translation memory, glossary, preferences, and `registro.log`) stays in
+ `%LOCALAPPDATA%\traductor-es`. The log masks the key and any text that looks like an API key, and
+ "Copy diagnostics" also replaces your personal folder with `~`.
+
+---
+
+*This is a translation of the project's [Spanish security policy](SECURITY.md), kept up to date on a
+best-effort basis. The Spanish version is authoritative if the two ever disagree.*
diff --git a/SECURITY.md b/SECURITY.md
index 424b45d..2ea1e7f 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -1,3 +1,5 @@
+**Español** · [English](SECURITY.en.md) · [中文](SECURITY.zh-CN.md)
+
# Seguridad
## Versiones con soporte
diff --git a/SECURITY.zh-CN.md b/SECURITY.zh-CN.md
new file mode 100644
index 0000000..c0c7201
--- /dev/null
+++ b/SECURITY.zh-CN.md
@@ -0,0 +1,31 @@
+[Español](SECURITY.md) · [English](SECURITY.en.md) · **中文**
+
+# 安全
+
+## 受支持的版本
+
+只有最新发布的版本会收到修复。
+
+## 报告漏洞
+
+请不要公开提交 issue。请使用 GitHub 的私密表单:
+[报告漏洞](https://github.com/Consterna/ModpackES/security/advisories/new)。
+
+请说明发生了什么、如何重现,以及你使用的版本。我们会尽快回复;修复完成后,报告会被公开,
+并会在报告中致谢发现者(如果对方愿意的话)。
+
+## ModpackES 如何处理你的数据
+
+- 各引擎的密钥(Gemini 或其他服务商)保存在 Windows 凭据管理器中,每个引擎单独一份;绝不会写入
+ 文件,也不会保存在应用的设置中。
+- 需要翻译的文本只会发送给你选择的引擎(Gemini、其他服务商,或你自己电脑上运行的服务器)。
+- 应用启动时会向 GitHub 的公开 API 查询最新版本,不会发送你的任何数据;该功能可以关闭。它不会
+ 自行下载或安装任何东西。
+- 其他所有内容(翻译记忆库、术语表、偏好设置和 `registro.log`)都保存在
+ `%LOCALAPPDATA%\traductor-es` 中。日志会隐藏密钥,以及任何形似 API 密钥的文本;「复制诊断信息」
+ 还会把你的个人文件夹路径替换为 `~`。
+
+---
+
+*本文档是项目[西班牙语版安全政策](SECURITY.md)的翻译,会尽力保持同步更新。如果两者出现不一致,
+以西班牙语版本为准。*
diff --git a/docs/publicar-version.md b/docs/publicar-version.md
new file mode 100644
index 0000000..d10e79d
--- /dev/null
+++ b/docs/publicar-version.md
@@ -0,0 +1,90 @@
+# Publicar una versión (release)
+
+Cómo se corta una versión nueva de ModpackES, de punta a punta. Para la firma del `.exe`, ver
+[docs/firma.md](firma.md).
+
+## 1. Antes de etiquetar
+
+1. Verifica que `main` esté verde (CI y CodeQL) y que no quede nada pendiente que debería ir en esta versión.
+2. Mueve lo que haya en la sección «[Sin publicar]» de `CHANGELOG.md` a una sección nueva con el número de
+ versión y la fecha de hoy, manteniendo las subsecciones que uses (Agregado, Cambiado, Corregido,
+ Seguridad…):
+ ```markdown
+ ## [2.4.0] - 2026-12-01
+ ```
+ Si no hay nada en «Sin publicar», no se publica una versión solo por publicar: espera a que haya algo
+ que anotar.
+3. Actualiza los enlaces de comparación al final del archivo: el de «[Sin publicar]» pasa a apuntar desde
+ la versión nueva, y se agrega uno para ella:
+ ```markdown
+ [Sin publicar]: https://github.com/Consterna/ModpackES/compare/v2.4.0...HEAD
+ [2.4.0]: https://github.com/Consterna/ModpackES/compare/v2.3.2...v2.4.0
+ ```
+4. Sube el número de versión en los dos sitios donde se escribe a mano (no hay una comprobación automática
+ que avise si quedan distintos) y deja que `uv lock` lo copie en el tercero:
+ - `pyproject.toml` → `version = "2.4.0"`
+ - `src/traductor_es/__init__.py` → `__version__ = "2.4.0"`
+ - `uv.lock`: corre `uv lock` y revisa que el único cambio sea la versión de `modpackes`.
+5. Lleva esos cambios a `main` por pull request, como cualquier otro cambio (`chore(release): versión
+ 2.4.0`).
+
+> [!IMPORTANT]
+> El job que publica la release busca en `CHANGELOG.md` una sección que empiece exactamente con
+> `## [2.4.0]` (sin la `v`). Si no la encuentra, el workflow falla a propósito («No hay sección … en
+> CHANGELOG.md») antes de crear nada en GitHub.
+
+## 2. Etiquetar y publicar
+
+Con el commit de arriba ya en `main`:
+
+```
+git tag v2.4.0
+git push origin v2.4.0
+```
+
+El push de una etiqueta `v*` dispara `.github/workflows/release.yml`, que:
+
+1. **`construir`** (reutiliza `ci.yml`): compila los mods de apoyo en Java, construye el portable y el
+ instalador, corre toda la puerta de calidad y las pruebas del `.exe` ya construido, y sube el resultado
+ como artefacto. En una etiqueta se corre **sin cachés** (ni de `uv` ni de las distribuciones de Gradle),
+ para que una caché envenenada no pueda llegar a lo que se publica; por eso una release tarda más que un
+ push normal a `main`.
+ El job `sbom` de ese mismo CI genera la lista de componentes (CycloneDX) aparte, sin permisos de
+ escritura y sin tocar los ejecutables.
+2. **`publicar`**:
+ - si el repositorio tiene configurados los secretos de SignPath (ver [docs/firma.md](firma.md)), manda
+ el instalador y el portable a firmar; si no, publica sin firmar, como hasta ahora;
+ - genera la **atestación de procedencia** (GitHub/Sigstore) del instalador y del portable;
+ - saca de `CHANGELOG.md` la sección de esta versión, le agrega el bloque de descarga (los SHA-256 de los
+ dos archivos y el comando para verificar la atestación) y, si hubo firma, el aviso de atribución de
+ SignPath;
+ - crea la *release* en GitHub con `gh release create`, adjuntando el instalador, el portable y el SBOM.
+
+No hay que tocar nada a mano en GitHub: todo sale del tag.
+
+## 3. Después de publicar
+
+- Revisa la página de la release: que los tres archivos estén, que las notas tengan el changelog correcto
+ y que el bloque de descarga tenga los SHA-256.
+- Si el repositorio tiene SignPath configurado, comprueba que el aviso de atribución de SignPath salió en
+ las notas.
+- Bajando el instalador de la release, `gh attestation verify ModpackES-instalador.exe -R
+ Consterna/ModpackES` confirma que lo construyó este repositorio.
+- Si algo salió mal (el workflow falló, faltó un archivo, las notas quedaron vacías), **la etiqueta no se
+ reusa ni se borra**: las reglas del repositorio no dejan borrar ni mover etiquetas `v*`, y las releases
+ son inmutables. Corrige en `main` y publica la versión siguiente (por ejemplo `v2.4.1`), con su propia
+ sección en `CHANGELOG.md`. Así quien ya bajó la versión anterior puede seguir verificando su
+ procedencia. Si la etiqueta quedó sin release (el workflow falló antes de crearla), se deja así, como
+ pasó con `v2.0.0`.
+
+## Fuera de este flujo
+
+- El README y `CHANGELOG.md` prometen versiones con [SemVer](https://semver.org/lang/es/): un cambio que
+ rompe algo para quien usa la app (línea de comandos, formato del paquete `.modpackes.zip`, etc.) sube el
+ número mayor.
+- La versión de Python con la que se puede compilar la app está fijada por rama en
+ `scripts/construir_exe.py` (`python_seguro`); si Python publica una versión nueva, revisa esa tabla antes
+ de construir con ella.
+- Cortar una versión no republica el mod de apoyo (ModpackES Runtime) en ningún sitio aparte: sus jars se
+ compilan en el mismo CI y van dentro del instalador y del portable; no existe una release separada para
+ ellos.