How can I make my own Strings?

I’m planning to make my new custom campaign with using the Strings file for better conditions for translation. So, I’ve tried several times of strings, but nothing worked.

I’ve set my own strings.txt file at mods/local/my own campaign/resources/_common/strings/key-value, but it seems not working.

None of the custom campaigns made by others have the string settings. Does it mean normal users are not allowed to make their own strings that start from the number of 1?

When I tried with 1, it showed “wave_1” or “wave_2” or something which is in the basic strings.txt file.

Are there any available ways to make my own strings for my own scenarios apart from the strings for official campaign scenarios?

The string file you want to copy is actually key-value-modded-strings-utf8.txt from in C:\Program Files (x86)\Steam\steamapps\common\AoE2DE\resources\en\strings\key-value, and then you want to use a similar setup for how you name it in your mod (so put it in mods/local/my own campaign/resources/en/strings/key-value). This is assuming that you’re doing the localization in English, if you’re using a different language then you need the folder structure to reflect that.

Well, that doesn’t work, unfortunately.

I put my own string file in mods/local/my own campaign/resources/en/strings/key-value, but it still showed wrong indications from the common string file. I designated 2 to be player 2’s name, but it showed “wave 2” that is in the common string file under the AoE2DE/resources/en/strings/key-value folder.

And what is strange, after I put my own string file in that folder and saved my campaign file once again in case, the game didn’t refer to the campaign in the local folder. I have no idea why.

→ Oh, after resaved (dumping) my campaign file, the game doesn’t recognize it in the local folder for some reasons. The campaign file is correct, but it’s not on my custom campaign list. I sometimes experience this kind of not working even though things look all fine.

From how I’ve observed, nobody including official campaign designers had used their own string files in their custom campaigns.

Wait! It must’ve been a bug.

It worked again after some deals, and now I checked that the strings worked fine to some extent. However, some were not.

My strings from 3 to 5 worked fine, but 2 still showed me “wave 2” which is not my string.

I guess the number 2 now has a bug of not recognizing custom strings.


Thank you for your answer. Now at least I know where to put my string file.

Also, I realized that it works even on the Editor. I have no idea whether it crashes with original string numbers though.

I’m still studying how to deal with my own strings with editing, testing, restarting the game, etc. Haha.