XPathing and time.xml

Started by Vetrosian, July 03, 2020, 09:08:46 AM

Previous topic - Next topic

Vetrosian

After following the xpath tutorial I feel I understand enough to make tweaks and minor edits to most things in game, however when I try to edit more abstract things like the name of the months I seem unable to. The following is my attempt, I believe my error lies in my xpath, but after spending most of yesterday browsing tutorials, I'm at a loss about how to find the correct path or even I should be using a different method.


<Operation Class="PatchOperationReplace">
<xpath>/Defs/LanguageData/QuadrumAprimay</xpath>
<value>
<QuadrumAprimay>Test</QuadrumAprimay>
</value>
</Operation>

LWM

LanguageData aren't in Defs?

I think what you want to do is Translation - you want to translate the name "Aprimay" into "Test," right?  If so, you need to do the same things Translators do, and you can specify the language you're translating into as English, and it should work just fine 8)