832a92783b
The stock menu font (Gill Sans MT Menu) is a static 243-glyph atlas with no Latin Extended-A, so "Pokračovať" rendered as "Pokra ova" and "Podrž" as "Podr". Dialogue, the Nomai translator and the ship log were always fine — they use Futura PT (663) and Space Mono (612), both of which cover Slovak. Registering a language font via AddLanguageFont fixes the menus but flips TextTranslation.IsLanguageLatin() to false, and the game uses that flag to decide whether dialogue, the translator and the ship log keep their own fonts or fall back to the language font. So the blanket fix dragged all three onto the wrong font, oversized and clipping. Instead: register no language font at all, and postfix only the font getters (UIStyleManager, PromptManager, GameOverController). Each result goes through SlovakFont.Fix, which probes the font with Font.HasCharacter and returns it untouched unless it genuinely cannot draw Slovak — so nothing that already renders correctly is ever replaced, and the patches are inert in every other language. The substitute is Cabin (SIL OFL 1.1), a humanist sans in the Gill Sans lineage, shipped as a dynamic font with its vertical metrics rewritten to Gill Sans MT's exact ratios so line height matches and text does not clip. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
77 lines
3.6 KiB
Markdown
77 lines
3.6 KiB
Markdown
# Outer Wilds — Slovenský preklad / Slovak Translation Mod
|
|
|
|
> **Neoficiálny slovenský preklad hry Outer Wilds** (základná hra + rozšírenie
|
|
> *Echoes of the Eye*). Pridáva do hry jazyk **Slovenčina**.
|
|
>
|
|
> *An unofficial Slovak (slovenčina) translation mod for Outer Wilds, covering
|
|
> the base game and the Echoes of the Eye DLC.*
|
|
|
|
**Stav / Status:** 🚧 **Work in progress** — the mod scaffold and translation are
|
|
being built. See [`PLAN.md`](PLAN.md) for the roadmap.
|
|
|
|
Outer Wilds officially ships in 12 languages; Slovak is not one of them. This mod
|
|
adds it as a new selectable language using the community localization framework —
|
|
no changes to the game's own files are required.
|
|
|
|
---
|
|
|
|
## How it works
|
|
|
|
The mod is a small [OWML](https://github.com/ow-mods/owml) mod that registers a
|
|
new language through **[Interplanetary Polyglot / Localization Utility](https://outerwildsmods.com/mods/interplanetarypolyglot/)**
|
|
(`xen.LocalizationUtility`). All translated text lives in a single
|
|
`assets/Translation.xml`; the utility swaps the game's strings for the Slovak ones
|
|
at runtime.
|
|
|
|
## Installation
|
|
|
|
1. Install the **[Outer Wilds Mod Manager](https://outerwildsmods.com/mod-manager/)**.
|
|
2. Install this mod through the Mod Manager. Its dependency **Interplanetary
|
|
Polyglot** (`xen.LocalizationUtility`) will be pulled in automatically.
|
|
3. Launch the game via the Mod Manager.
|
|
4. In **Settings → Language**, choose **Slovenčina**.
|
|
- Tip: the optional [Language Swap](https://outerwildsmods.com/mods/languageswap/)
|
|
mod lets you switch language in-game with `Ctrl+L`.
|
|
|
|
> Until the first release is published, the mod is not yet in the Mod Manager
|
|
> database — see [`PLAN.md`](PLAN.md) for how to build it from source.
|
|
|
|
## Contributing / Prispievanie
|
|
|
|
Translation fixes are very welcome — the goal is natural, consistent Slovak.
|
|
|
|
- **Report** mistranslations or awkward phrasing as an issue.
|
|
- **Edit** only the `<value>` of each entry in `assets/Translation.xml`.
|
|
**Never change the `<key>`** — it is the English identifier the game matches on.
|
|
- Preserve all inline formatting exactly, e.g. `<color=orange>…</color>`,
|
|
`<i>`, and speaker prefixes like `POKE:`.
|
|
- Follow the terminology in `docs/glossary.md` so names (Nomai, the Eye, Ash Twin
|
|
Project, …) stay consistent across the whole game.
|
|
|
|
See [`CLAUDE.md`](CLAUDE.md) for the full conventions and repo layout.
|
|
|
|
## License & disclaimer
|
|
|
|
The **original mod code and the Slovak translation** in this repository are
|
|
released under the [MIT License](LICENSE).
|
|
|
|
The bundled UI font in `assets/slovakfont` is **[Cabin](https://github.com/impallari/Cabin)**
|
|
by the Cabin Project Authors, used under the **SIL Open Font License 1.1**
|
|
(see [`assets/Cabin-OFL.txt`](assets/Cabin-OFL.txt)). It is only used for the few
|
|
menu/HUD elements whose stock font was never baked with Slovak caron glyphs — see
|
|
[`SlovakFont.cs`](SlovakFont.cs).
|
|
|
|
This is an **unofficial** fan project. It is **not affiliated with, approved by, or
|
|
endorsed by Mobius Digital or Annapurna Interactive.** *Outer Wilds*, its story,
|
|
dialogue, characters, and other assets are **© Mobius Digital / Annapurna
|
|
Interactive**; the underlying game text remains their property and is used here
|
|
under **Mobius Digital's Fan Content Policy**. The MIT license covers only this
|
|
project's own contributions, not the source material.
|
|
|
|
## Credits
|
|
|
|
- **Mobius Digital / Annapurna Interactive** — *Outer Wilds*.
|
|
- **[xen-42](https://github.com/xen-42)** — the Localization Utility /
|
|
Interplanetary Polyglot framework this mod is built on.
|
|
- The Outer Wilds modding community.
|