v2.1 — Fix localization via ArchiveXL .xl file

- Use string keys (crystal_katana_name) instead of LocKey# in YAML
- Create crystal_blades.xl to register translation JSONs with ArchiveXL
- Translation JSONs with primaryKey:0, secondaryKey matching YAML refs
- EN + DE translations in proper ArchiveXL format
- Remove old r6/loc/ approach (didn't work)
- Names should now resolve correctly in-game
This commit is contained in:
arch_agent
2026-07-21 22:17:00 +02:00
parent 18708e2d19
commit 85008a6504
6 changed files with 63 additions and 22 deletions
@@ -0,0 +1,26 @@
[
{
"femaleVariant": "Crystal Cleaver",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_katana_name"
},
{
"femaleVariant": "A katana with a monomolecular crystal blade. Every strike causes uncontrollable bleeding — armor is meaningless.",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_katana_desc"
},
{
"femaleVariant": "Phantom Splitter",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_knife_name"
},
{
"femaleVariant": "A throwing knife with a monomolecular crystal edge. Thrown hits guarantee bleeding. If the target is already bleeding, the knife causes hemorrhaging and heals the wielder.",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_knife_desc"
}
]