Skip to content

Spanish translation, Amiga release setup and keymaps (e, cz, pl) - #169

Merged
Pyrdacor merged 16 commits into
masterfrom
ccr-2fc89da9-nuligb
Nov 22, 2026
Merged

Pyrdacor merged 16 commits into
masterfrom
ccr-2fc89da9-nuligb

Conversation

@Pyrdacor

@Pyrdacor Pyrdacor commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

A complete Spanish translation of Ambermoon, everything the release creator needs to build a Spanish Amiga release, and proper keymaps for the Spanish, Czech and Polish boot disks.

Translation (Translations/Spanish)

  • AllTexts: all 3448 game texts (maps, NPC dialogue, books, party members, items, spells, monsters, places, dictionary, UI), in the same layout as Disks/Bugfixing/English/AllTexts.
  • IntroTexts / ExtroTexts: 15 intro and 195 extro files.
  • RemakeTranslatableTexts.txt: the remake's own texts.
  • Glossary.md, Names.tsv: terminology and every translated name (German / English / Spanish).
  • Tools: check_translation.py checks placeholders, line breaks, the character set and length limits. missing_files.py checks completeness.
  • Source: most texts are translated from the German original and cross-checked against the English. The intro and extro come from the English, because the repository has no German version of them.
  • Conventions: European Spanish (tú / vosotros), and gender-neutral wording for the protagonist and active character.
  • Riddles: they are rewritten as Spanish verse. The Illien stone-head riddles and the rune statues match the dictionary answers.

Amiga release setup

  • Disks/Bugfixing/Spanish: the input of AmbermoonReleaseCreator.
    • The game texts there have no accents and no ¿ ¡, because the in-game font cannot show them. -u already removes the accents, but it leaves ¿ ¡ in place.
    • These files are generated by Translations/Spanish/tools/build_amiga_data.py.
    • The button graphics are the English ones for now.
  • Intro/extro font: ISO-8859-1, 91 glyphs, based on the Czech font with Ñ ñ Ü ü ¿ ¡ added.
    • encoding.txt, click-text.txt and translators.txt are added.
  • Version strings: DateAndLanguageString = 21-11-2026 / Español, VersionString = Ambermoon v1.22. The release creator overwrites both with "dd-MM-yyyy / Spanish" when it runs.

Release creator (both Tools/AmbermoonReleaseCreator and the C# original)

  • Boot disk texts: Spanish raminstall texts are added. Without them, the Spanish release stopped with "The boot disk has no texts in Spanish".
  • Keymaps: the boot disk now selects e for Spanish, cz for Czech and pl for Polish instead of gb. This also affects future Czech and Polish releases.

Keymaps (Disks/BootDisk/Devs/Keymaps/e, cz, pl)

  • How they are made: Translations/make_keymaps.py builds them from the existing gb keymap. As a check, the script writes gb back byte for byte.
  • e (Spanish): Spanish layout with Ñ, Ç, ¡ ¿, º ª and the dead keys ´ ¨ ` ^.
  • cz (Czech): QWERTZ with the Czech number row.
  • pl (Polish): programmer layout, i.e. US keys with AltGr for the letters.
  • Limitation: keymaps can only produce ISO-8859-1. Czech and Polish letters outside it give their base letter, which the game strips to anyway.

Validation

  • check_translation.py: 0 errors, 0 warnings for AllTexts, IntroTexts and ExtroTexts.
  • missing_files.py: 0 files missing.
  • The release workflow ran on this branch for version 1.22 and passed: https://github.com/Pyrdacor/Ambermoon/actions/runs/44955850838
    • It built all languages, including ambermoon_spanish_1.22_{adf,extracted}.{zip,tar.gz,lha}, as run artifacts.
    • game-v1.22 is already published, so the Spanish archives are not attached to it automatically.

Not done yet

  • Review by a native speaker.
  • An in-game test.
  • Testing the keymaps on real hardware or in an emulator.
  • Spanish button graphics.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho

Glossary of core terminology (classes, races, skills, spells, items,
places, keywords), a sample translation of the game's opening
(grandfather's house and cellar, grandfather's dialogue) and a script
that checks placeholders, line breaks, character set and length limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
All 3448 AllTexts files, 15 intro and 195 extro files and the remake texts
are translated. Terminology harmonized across files (airship, forest moon,
navstones), glossary extended, README updated with status and open points.
The validator reports 0 errors and 0 warnings; no file is missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
- Disks/Bugfixing/Spanish (texts for the release creator; game texts without
  accents and without opening marks, which the in-game font cannot show)
- Intro/extro font for ISO-8859-1 with Ñ ñ Ü ü ¿ ¡ (derived from the Czech font)
- encoding.txt, click-text.txt, translators.txt
- DateAndLanguageString 21-11-2026 / Español, VersionString Ambermoon v1.22

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
The Spanish release failed with "The boot disk has no texts in Spanish".
Spanish keeps the English keymap (gb), like Czech and Polish.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
The keymaps are made from the British keymap gb by Translations/make_keymaps.py
(which writes gb back byte for byte as a check). Spanish has the Spanish layout
with Ñ, Ç, ¡ ¿ and the dead keys ´ ¨ ` ^; Czech is QWERTZ with the Czech number
row; Polish is the programmer layout (US keys, AltGr for the letters). Letters
outside ISO-8859-1 give their base letter. The release creators select them
in S/startup-original instead of gb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
@Pyrdacor Pyrdacor changed the title Spanish translation (game, intro, extro, remake texts) and Amiga release setup Spanish translation, Amiga release setup and keymaps (e, cz, pl) Nov 21, 2026
Translations/PO holds the template (ambermoon.pot, the English texts) and one
PO file per language (de, fr, cs, pl, es). msgctxt is the file of the text,
msgid the English text; the comments give the kind of text, the usual length,
the meaning of the placeholders and the German original.

Translations/po.py writes the template (extract), creates PO files from the
text folders (export), writes the text folders of the release from the PO
files (import; existing files keep their BOM and line end), merges a PO file
with a new template (update: changed texts become fuzzy), checks a
translation (check: placeholders, line breaks, lengths, intro/extro glyphs)
and checks that everything is up to date (verify).

Importing the PO files gives the existing texts of German, French, Czech and
Polish byte for byte. The Spanish texts now live only in es.po; the game texts
in Disks/Bugfixing/Spanish keep their accents (the release creator removes
them), only ¿ ¡ are removed. The Spanish intro/extro font gets the glyph ".

The release workflow imports the PO files before it builds the releases, and
the new workflow translations runs verify for pull requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
claude and others added 2 commits November 22, 2026 11:57
- quotes: 77 texts with a missing, doubled or extra quotation mark compared
  with the English text (French, Czech, Polish; 2 in the German original)
- junk after a NUL byte at the end of 33 texts (\0 STOP., \0 \x1a, ...)
- Czech: broken placeholder ~SEX2 (Messages/255), ~INK 17~ -> ~INK17~ in the
  remake outro, 3 remake strings without closing quote, a stray quote in a
  remake string (broke the C# syntax)
- Polish: typo podšża -> podąża (intro), missing line break before ~INK 31~
- French: untranslated English sentences in 4 texts translated
- Czech and Polish intro/extro fonts: glyph for " (used by the extro, was
  missing)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGvkG5Uoa8unp8Sx5tBxho
Translations as gettext PO files for all languages
@Pyrdacor
Pyrdacor merged commit d803848 into master Nov 22, 2026
1 check passed
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