No description
  • C# 99.6%
  • Nix 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Superkooka 82b9c06a35
All checks were successful
/ docs (push) Successful in 5s
/ build-doc (push) Successful in 6s
/ format (push) Successful in 2m14s
/ test (push) Successful in 6m11s
Nix / flake (push) Successful in 8m40s
chore: xunit-v3 + test on aot (#9)
Reviewed-on: #9
2026-11-18 22:06:24 +00:00
.claude docs(skills): add CK3 translation mod specification 2026-11-09 16:18:25 +01:00
.forgejo/workflows chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
.skills/ck3-translation-mod-spec refactor(formats): parse the markup, .mod and .yml files without regex 2026-11-10 04:17:27 +01:00
CK3TranslationTool.Core refactor: untangle the dependencies between Core and the TUI (#7) 2026-11-18 20:00:39 +00:00
CK3TranslationTool.Core.Tests chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
CK3TranslationTool.Formats chore(deps): update dependency yamldotnet to v18 (#6) 2026-11-18 20:38:09 +00:00
CK3TranslationTool.Formats.Tests chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
CK3TranslationTool.TestSupport chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
CK3TranslationTool.Tui chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
CK3TranslationTool.Tui.Tests chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
docs chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
nix chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
.editorconfig refactor: untangle the dependencies between Core and the TUI (#7) 2026-11-18 20:00:39 +00:00
.gitignore docs: link pages with ./ paths, tag the .dic example as text, turn the YAML keys, EET line fields, dictionary option parts, WorkspaceTest properties and navigation methods into tables, move long table cells to prose, link to the spelling, background work and navigation pages instead of restating them, describe the status aliases without history, and address the reader as you 2026-11-14 04:41:08 +01:00
AGENTS.md chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
CK3TranslationTool.slnx refactor: untangle the dependencies between Core and the TUI (#7) 2026-11-18 20:00:39 +00:00
CLAUDE.md Move TUI project to the repository root 2026-11-08 20:56:38 +01:00
Directory.Build.props refactor: untangle the dependencies between Core and the TUI (#7) 2026-11-18 20:00:39 +00:00
Directory.Packages.props chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
flake.lock build(nix): pin the NuGet packages and build ck3-tt with Nix 2026-11-18 01:15:27 +01:00
flake.nix chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
global.json chore: xunit-v3 + test on aot (#9) 2026-11-18 22:06:24 +00:00
LICENSE chore: license the project under AGPL-3.0-only 2026-11-18 01:25:54 +01:00
OVERVIEW.gif docs(readme): shrink OVERVIEW.gif to 768x520 2026-11-18 01:30:49 +01:00
README.md chore: license the project under AGPL-3.0-only 2026-11-18 01:25:54 +01:00
renovate.json refactor: untangle the dependencies between Core and the TUI (#7) 2026-11-18 20:00:39 +00:00

CK3TranslationTool

CK3TranslationTool (ck3-tt) is a terminal interface for translating Crusader Kings III mods.

From a new project to the built mod: init, auto fill, DeepL estimate, editing, review, report and build

A translation project is a folder, which you can version with Git. It holds the manifest ck3-tt.yml, one translation file per localization file of the source mod, and the words you add to the spelling. You translate in the tool, then build a translated mod from the folder. The source mod stays outside the project, in the Steam Workshop or another folder.

The project is in early development.

Features

  • Create a project from a source mod, with one YAML translation file per source file, shared by all target languages.
  • Update to a new version of the source mod, from the local Steam Workshop or a folder: moved keys keep their translations, changed originals become outdated in every language.
  • Translate entry by entry, with a status and a note per language, and the CK3 tags of the original colored and ready to insert.
  • Search the keys, originals and translations of the whole project, with plain text or a glob.
  • Import the translations a mod already ships, from the source mod or an older translation, into the entries nobody translated yet.
  • Look up and fill translations from the project, the base game and ESP-ESM Translator dictionaries, one entry at a time or the whole project with :auto.
  • Check the spelling with Hunspell dictionaries, and keep the words of the project in a versioned file.
  • Review the entries that wait for a second reading, one key per decision.
  • Report on progress and on common mistakes, such as lost tags or untranslated text.
  • Build the translated mod: localization files in UTF-8 with BOM, descriptor.mod and .mod file.
  • Translation files keep clean diffs, so several people can work through Git.

Type :help or ? in the tool for the commands and keys.

Documentation

The book in docs/ holds a user guide and the developer reference. Read it with mdbook serve docs, or start from the sources:

Running

The repository has a Nix flake. From the repository root:

nix run . -- my-project

Without Nix, install the .NET 10 SDK and run:

dotnet run --project CK3TranslationTool.Tui -- my-project

ck3-tt opens the current directory when you name no folder, and offers to create a project when the folder isn't one. --help lists the options: the theme, the accent color and the additional dictionaries.

On Linux, copy and paste need xclip. nix run and nix develop provide it.

Building

nix develop             # .NET 10 SDK, clang, xclip and mdbook
dotnet build
dotnet test
dotnet publish CK3TranslationTool.Tui -c Release -o publish

The published executable is publish/ck3-tt. Keep it next to libonigwrap.so, and link it from a folder on your PATH. Getting started has the details.

nix build builds the same binary in result/bin/ck3-tt.

License

The tool is licensed under the GNU Affero General Public License v3.0 only. See LICENSE.