What's new

[TOOL] Machine Translator - work for RPGMakerTrans, wolftrans


hoanthien11ht

Jungle Girl
Joined
Feb 16, 2015
Messages
41
Reputation score
5
[326/472] translated [二つ結び] => [Two knots]
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
[332/472] translated [ワイルドイヤー] => [Wild year]
Process: Armors.txt [ 333 ]/ [ 472 ] 70.55084745762711 %

a lot of error
tiện thể người làm là người Việt à ( btw, does creator is vietnamese? )
 

Alexander_rekaX

New member
Joined
May 4, 2018
Messages
10
Reputation score
2
[326/472] translated [二つ結び] => [Two knots]
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
[332/472] translated [ワイルドイヤー] => [Wild year]
Process: Armors.txt [ 333 ]/ [ 472 ] 70.55084745762711 %

a lot of error
tiện thể người làm là người Việt à ( btw, does creator is vietnamese? )
Post #96 (file) and #100 (proper instructions) can help you. If it didn't help try to lover $maxFiles and $threadEachFile inside script. For me 3 and 5 works best
$maxFiles = 3
$threadEachFile = 5
 
OP
P

prao179

Member
Joined
May 8, 2018
Messages
92
Reputation score
62
[326/472] translated [二つ結び] => [Two knots]
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
Translation API failed for [ワイルドイヤー] with message: 765: unexpected token at '<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Lỗi</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Không thể thực hiện yêu cầu đối với mã được trả lại 503. Phản hồi bị cắt ngắn từ máy chủ: &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;me... (sử dụng tùy chọn muteHttpExceptions để kiểm tra phản hồi đầy đủ) (dòng 30, tệp &quot;Mã&quot;, dự án &quot;Translate API&quot;)</div></body></html>'
[332/472] translated [ワイルドイヤー] => [Wild year]
Process: Armors.txt [ 333 ]/ [ 472 ] 70.55084745762711 %

a lot of error
tiện thể người làm là người Việt à ( btw, does creator is vietnamese? )
Người Việt bạn ạ :v
Bạn có thể xem hướng giải quyết của Alexander_rekaX
Cách giải quyết đã ghi rõ nhưng mình chưa có thời gian để tổng hợp lại
Bạn xem giúp mình nha

Về phần comment trước, mình quên đọc mất.
Lỗi đó có thể là do bạn xài wolftrans phiên bản cũm,
Không phiền thì cứ lục lại mấy comment có wolftrans mới nhất nha
Mình sẽ tổng hợp lại khi có thời gian
 
Last edited:
OP
P

prao179

Member
Joined
May 8, 2018
Messages
92
Reputation score
62
Please re-download the new one rpgmktrans MT.
Also in this version, there 2 little thing:
-I fixed translate with var in rpgmktrans MT. Hope it run smoothly on many game.
-Ctrl + C when you wanna turn off safely the program. And dont worry about the error after that.
 

danryd

Sex Demon
Joined
Feb 19, 2015
Messages
299
Reputation score
10
So here's a thought. Would it be possible to edit this so that it is able to call on an owned copy of a translator (Such as ATLAS) that is on our hard drive? I've looked through it a little bit but I'm really new with coding Ruby and I can't see a way. Any help would be appreciated thanks.
 

hoanthien11ht

Jungle Girl
Joined
Feb 16, 2015
Messages
41
Reputation score
5
i has changed
$maxFiles = 3
$threadEachFile = 5
both to 1, but still got this. maybe i should take parial first.
RJ223861
 
OP
P

prao179

Member
Joined
May 8, 2018
Messages
92
Reputation score
62
i has changed
$maxFiles = 3
$threadEachFile = 5
both to 1, but still got this. maybe i should take parial first.
RJ223861
Theo mình thấy thì bạn đang có 1 API key, việc này dẫn đến sử dụng được khoảng 3000 lần dịch trong ngày.
Lỗi này gặp do bạn đã sử dụng hết số lần dịch trong ngày, bạn cần đợi đến ngày tiếp theo để xài lại hoặc tạo thêm API mới để sử dụng
#
As i can see, you used 1 API key, so that you can only use about 3000 times translation on a day.
This error occur because you reach the day limit, you should wait until next day or create more API key with different account to use more.
 
Last edited:

SpeedHK

New member
Joined
Aug 15, 2018
Messages
7
Reputation score
2
Bác @prao179 Có thể chọn cái mình chỉ muốn nó trans cái đó thôi không vậy bác :3
#
Can we choose what we want to translate?
 
Last edited:
OP
P

prao179

Member
Joined
May 8, 2018
Messages
92
Reputation score
62
Bác @prao179 Có thể chọn cái mình chỉ muốn nó trans cái đó thôi không vậy bác :3
Bác dùng cái hàm skip?(filename) để xài nha
Để chọn đúng cái cần dịch thì sửa lại code một ít:
#
If you wanna choose what to translate, use the code below
Ruby:
def skip?(fileName)
    ############################
    #If "Something" need to translate:
    ############################
    if fileName.match("Something")
        return false
    end
    ############################
    return true
end
Chú ý dòng "return true" ở cuối.
Ví dụ muốn dịch Map và Actor thì:
#
Example for Map and Actor:
Ruby:
def skip?(fileName)
    ############################
    if fileName.match("Map")
        return false
    end
    ###########################
    if fileName.match("Actor")
        return false
    end
    ############################
    return true
end
 
Last edited:

DarkFire1004

Tentacle Goddess of the H-Section
Staff member
Administrator
Super Moderator
Joined
Nov 10, 2008
Messages
4,903
Reputation score
1,792
Please keep it to English.
 
OP
P

prao179

Member
Joined
May 8, 2018
Messages
92
Reputation score
62
Does anyone know why this error occurs in some games?
RPGMakerTrans left it as untranslated. So, I think it not a big problem.
Also, rpgmk MT not translate all scripts, it would not be translated if even there were no error though.
P/s: It's not a big deal, so just go on.
 

NeoGenesis

New member
Joined
Aug 25, 2018
Messages
28
Reputation score
2
This tool works great, thanks a lot for making this :)
Just out of curiosity tho may I ask if this is normal. Translator completed successfully without any errors in its logs tho there are some things like menus and statuses that are untranslated.

Oops found some error in game, pls help
 

Attachments

Last edited:
Top