Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vic3] Hardcoded base game localization key BREAKDOWN_TAG detected as missing #166

Open
kaiser-chris opened this issue Feb 1, 2025 · 0 comments

Comments

@kaiser-chris
Copy link

Hi @amtep,

Victoria 3 seems to have at least one hardcoded localization key that is not defined in the localization files but still works.
I searched the base game but the key is defined nowhere. It is just used and works.

The key I have found is called BREAKDOWN_TAG. It is used in citizenship laws localization.

Example

The code is how I use it (copied from the base game) and the screenshot shows it working:

EFFECTS_ON_ACCEPTANCE_law_gnomish_harmony: "#tooltippable #tooltip:$BREAKDOWN_TAG$ Pops will lead similar lives with only few negative consequences, even when they aren't as accepted#!#!"

Image

Error

warning(missing-localization): missing english localization key BREAKDOWN_TAG
  --> [MOD] localization\english\gate_laws_l_english.yml
21 |  EFFECTS_ON_ACCEPTANCE_law_gnomish_harmony: "#tooltippable #tooltip:$BREAKDOWN_TAG$ Pops will lead similar lives with only few negative consequences, even when they aren't as accepted#!#!"
   |   

Regards,

Chris

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

No branches or pull requests

1 participant