Closed gyhs closed 3 years ago
@gyhs
In events, localization key is title
field of country_event
, which is from official wiki. Did you miss title
field? If it does work without title
in game, please let me know. I'll update the extension to support it.
@herbix
sadly, I wrote it... I think ext is something wrong
@gyhs
Another possible reason is that your localization file is not in correct YAML format. You can open developer tools with command Developer: Toggle Developer Tools
and navigate to console tab to check whether there's a YAMLException
.
BTW, vanilla HOI4 localization files are not in correct YAML format too. The number after colon is not supported by YAML format. I'm not sure why it's here. But I did some trick to remove them all. Maybe there're some rules in localization files that I didn't care about.
FEN_heavy_fighter_equipment_3_short:0 "PF-98"
I thank you very much, fixed every lines! but can you support :0 < this format?
@herbix ah, and what is this? why can't use korean translation file?
but can you support :0 < this format?
Actually it's supported. I guess there're other format issues that triggered this bug.
why can't use korean translation file?
The extension tries to load translation file from your vscode language configuration, but Korean translation file is not supported by my extension yet. It will fall back to English.
Ah, i see! Thank you for your advices!
Describe the bug I added event loc value (mod), but I can't check mod's localisation
To Reproduce Steps to reproduce the behavior:
Expected behavior this option is for only vanila.
Screenshots If applicable, add screenshots to help explain your problem.