I've searched and then tried to translate a map, so far so good except that I'm having an issue of translating the texts that appear in Quests and the texts that pop up(will explain later). So far, what I did was open up object editor, import everything and export strings, then translate. That works for abilities/items/units etc etc. But for Quests in F9, the texts, i can't find all of them in war3.wts file, where can i find the rest to translate? Also for texts that pop up, i'm referring to those that show up from .j file(call displaytext....), those I can edit them 1 by 1 and search for it in jass but it's really troublesome to search 1 by 1 for it then translate, is there a more efficient way, like being able to get strings for all of the texts for example?
P.S : sorry if it's a little confusing :/
Translation help~
Moderator: Cheaters
-
- Shopping Maul USA Creator
- Posts: 1776
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 67 times
- Been thanked: 8 times
Re: Translation help~
You can open up a file in notepad, copy and paste it into Google translate. I also used Systran in MS Office to do this as well. It should translate all of the words, and leave the syntax alone. If not you may have to search for different symbols and replace with original syntax.
This is a pc from the W3Q file:
Translated:
original:
It's easy enough to "find" and "replace all" in a text editor to fix it.
This is a pc from the W3Q file:
Translated:
Code: Select all
gtp1?
Code: Select all
gtp1
-
- Newcomer
- Posts: 23
- Joined: December 9th, 2013, 6:55 am
Re: Translation help~
I'll try and open it in notepad and try it because I've been copying the entire lines(spoiler below) from j file directly into google translate, but it kinda ruins the syntax(notice the translated ones have unnecessary spaces).
Btw, the spoilers are massive
Link of google translate(copied and pasted the lines in the spoiler above)
Edit : I've tried opening in notepad, same thing occurs as explained above^ :/ any solutions or I'm stuck with copying only specific words(korean) rather than copying with the english ones and be faster that way, if you get what I mean.
Btw, the spoilers are massive
Spoiler:
Spoiler:
-
- Shopping Maul USA Creator
- Posts: 1776
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 67 times
- Been thanked: 8 times
Re: Translation help~
Use MS Word to open files might work better.
This was copy and paste right in Google. Looks ok to me except for some spaces. In word do this:
Copy -----------> "(GetForceOfPlayer (GetOwningPlayer (GetTriggerUnit ())), 5.00, "| cffffff00"
Replace all with "(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),5.00,"|cffffff00"
Just replace it with the same line of text without the unnecessary spaces. You will have to do this trick for many other lines of text with the syntax. Just make sure you copy long lines of text to make sure you dont replace other lines in the file. Example:
if you copy only "), 5" to replace the space, it may screw up different areas of the file. More text is better.
I don't know anything about jass, so maybe the spaces are ok?
.
Spoiler:
This was copy and paste right in Google. Looks ok to me except for some spaces. In word do this:
Copy -----------> "(GetForceOfPlayer (GetOwningPlayer (GetTriggerUnit ())), 5.00, "| cffffff00"
Replace all with "(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),5.00,"|cffffff00"
Just replace it with the same line of text without the unnecessary spaces. You will have to do this trick for many other lines of text with the syntax. Just make sure you copy long lines of text to make sure you dont replace other lines in the file. Example:
if you copy only "), 5" to replace the space, it may screw up different areas of the file. More text is better.
I don't know anything about jass, so maybe the spaces are ok?
.
-
- Newcomer
- Posts: 23
- Joined: December 9th, 2013, 6:55 am
Re: Translation help~
ahhhh guess I'll have to do that or just replace only the korean words specifically line by line, gonna take awhile but I guess that's the only solution atm :/ O well!
P.S for some reason after translating there are unnecessary spaces :/ which explains why my skills/items/unit names(translated from strings) shows actual color codes that are broken instead of showing colored texts.
P.S for some reason after translating there are unnecessary spaces :/ which explains why my skills/items/unit names(translated from strings) shows actual color codes that are broken instead of showing colored texts.
-
- V.I.P.
- Posts: 128
- Joined: August 5th, 2017, 2:26 am
- Title: Moon#6000
- Location: Discord:
- Been thanked: 1 time
Re: Translation help~
You can also learn Regex (Regular Expression) - take out the functions that send a message, translate and put them back to where they belong in the script file.
-
- Shopping Maul USA Creator
- Posts: 1776
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 67 times
- Been thanked: 8 times
Re: Translation help~
See my post how to fix it.juxtapose123 wrote: P.S for some reason after translating there are unnecessary spaces :/ which explains why my skills/items/unit names(translated from strings) shows actual color codes that are broken instead of showing colored texts.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Translation help~
spaces dont break syntax in jass. as long as they are at the same ling
string x="value"
and
string x = "value"
are the same
string x="value"
and
string x = "value"
are the same