editing the wts file to include Russian and English

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

risen_jihad
Newcomer
Posts: 4
Joined: July 7th, 2007, 5:59 am

editing the wts file to include Russian and English

Post by risen_jihad »

I've been working on a map, and someone contacted me about converting it into Russian for his fellow comrades. He agreed to do all the translations, and I figured the easiest way to change it would be to just edit the wts file, and change how it displays. However it didn't work as planned. Does anyone know how I could essentially turn:

STRING 1
{
Player 1
}

into

STRING 1
{
Игрок 1
}

and also would I need a special text editor for getting this to work properly? (And by special, I mean not Notepad)
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: editing the wts file to include Russian and English

Post by Senethior459 »

If he's doing the translation, why are you trying to change the format? Just send him the .wts, he can translate the English to Russian, nothing special needed. The only consideration is that STRING must be kept the same. English, full capital letters. I don't think WC3 likes it in other formats. Even in the Chinese maps I've seen, it's still that way, so I assume that it must be.

YOU could turn it into Russian by feeding the entire thing into a translator. If STRING gets translated, just fix it by using any editor with a find and replace function. Set whatever it got translated to as the find, STRING as the replace. Run it and it should all work again. Hopefully.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
risen_jihad
Newcomer
Posts: 4
Joined: July 7th, 2007, 5:59 am

Re: editing the wts file to include Russian and English

Post by risen_jihad »

Senethior459 wrote:If he's doing the translation, why are you trying to change the format? Just send him the .wts, he can translate the English to Russian, nothing special needed. The only consideration is that STRING must be kept the same. English, full capital letters. I don't think WC3 likes it in other formats. Even in the Chinese maps I've seen, it's still that way, so I assume that it must be.

YOU could turn it into Russian by feeding the entire thing into a translator. If STRING gets translated, just fix it by using any editor with a find and replace function. Set whatever it got translated to as the find, STRING as the replace. Run it and it should all work again. Hopefully.
The problem is that after saving it, uploading into the map, and opening the map, it says the file is corrupted. And my post said that all I wanted to do was change the text the user sees, hence why in my example STRING 1 stayed as it, it was just the "Player" that was changed.

And also I don't want to feed the thing into a translator, as I'm sure many things would get lost in translation.

What I'm saying is this, I opened the wts file, took a few phrases and changed it to Russian, and then put the WTS back into the map, but it wouldn't open as it said the data was corrupted.
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: editing the wts file to include Russian and English

Post by Senethior459 »

That's odd. Did you save it as war3map.wts, not .txt? Proper encoding of the file, to support Russian? Deleted the (attributes) files?
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
risen_jihad
Newcomer
Posts: 4
Joined: July 7th, 2007, 5:59 am

Re: editing the wts file to include Russian and English

Post by risen_jihad »

Senethior459 wrote:That's odd. Did you save it as war3map.wts, not .txt? Proper encoding of the file, to support Russian? Deleted the (attributes) files?
Yeah I did all that, but I think the problem stems from the map not being able to support the Cyrillic fonts in an English language version of the map...and I have no idea as to how I would convert the map itself to Russian, and if that would even work...I do know that Russian is supported in Wc3, but...probably not in an english version of the map.

I tried putting copying Russian characters into the map (while it was open through the editor) and it just appeared as question marks, indicating it had no idea what to do with the characters...
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: editing the wts file to include Russian and English

Post by Senethior459 »

Maybe you need a Russian WC3? I have no clue...

Just send it to him. Let him try translating it, see if it works for him.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
risen_jihad
Newcomer
Posts: 4
Joined: July 7th, 2007, 5:59 am

Re: editing the wts file to include Russian and English

Post by risen_jihad »

Senethior459 wrote:Maybe you need a Russian WC3? I have no clue...

Just send it to him. Let him try translating it, see if it works for him.
I've tried, and from little I know in MPQ editing, the header file of the map has the language set to english, so even if I sent it to him, he wouldn't be able to just type in the russian characters, it still wouldn't work.