Skip to content

Localization#32

Merged
BadMagic100 merged 11 commits intosilksong-modding:mainfrom
dplochcoder:l10n
Feb 14, 2026
Merged

Localization#32
BadMagic100 merged 11 commits intosilksong-modding:mainfrom
dplochcoder:l10n

Conversation

@dplochcoder
Copy link
Copy Markdown
Collaborator

Implement l10n through a variant type that can accept both raw strings and LocalisedString keys from TC.Localisation.

  • The change from 's' to 'z' is intentional to help differentiate the types.
  • This change is mostly source-compatible but not binary compatible. Rebuilds will be necessary for some mods which implement custom menus, code changes may be necessary in some cases.

This PR is built on top of #31.

@dplochcoder dplochcoder mentioned this pull request Feb 9, 2026
@dplochcoder dplochcoder force-pushed the l10n branch 2 times, most recently from e40a605 to fa77621 Compare February 9, 2026 01:03
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