Notepad++ overwrite lines from other files?

I have the following project:

I had a MOD for a PC game machine translated (yml files). But the translation isn't very good in some places, and changing everything manually would be too time-consuming for me.

There's already a translation mod that I also installed (which is disabled) that has better translations, but it's over a year older, so not everything new is translated. Perhaps several new lines are missing from all the yml files, etc.

Now I want to overwrite the old YML files of the better translation MOD with the newer ones of my "poorer" machine-translated YML files. But in such a way that only the matching lines are overwritten, leaving those not included in the Ü MOD untouched.

Is it possible to import lines from one YML file into another and have them overwrite them? Or how else can this be done?

If you know what I mean…

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
2 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
ralphdieter
7 months ago

I suppose you’re tormenting Windoof. Then you could WinMerge help (or any other Merge-tool).

Compare both Yaml files and copy your modified/extended lines to the current version. Ideally, you will see exactly your adjustments in the old file (and the innovations in the current file, which are not of interest here) Your changes do not properly recognize and display large areas as changed, it can help to copy a few updates from the new to the old file and then re-compare it.

Check out the WinMerge settings. Maybe you can turn a few values up (e.g. the search area for moved lines). Then the comparison may take a second longer, but this saves you a bunch of manual work.

PeterP58
7 months ago

I don’t understand what you mean, so my answer may be wrong. Sorry!

But: In text editors there is the function “Search and Replace” … < maybe helps Keep this to you?