Raised This Month: $32 Target: $400
 8% 

[deleted]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pancakelarry
Junior Member
Join Date: Sep 2014
Plugin ID:
6027
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    [deleted]
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 02-20-2018 , 15:30   [deleted]
    Reply With Quote #1

    [deleted]

    Last edited by pancakelarry; 08-21-2019 at 07:24. Reason: [deleted]
    pancakelarry is offline
    RumbleFrog
    Great Tester of Whatever
    Join Date: Dec 2016
    Location: Fish Tank
    Old 02-20-2018 , 22:24   Re: [TF2] Auto Translate (v1.0.1, 2018-02-20)
    Reply With Quote #2

    Spicy, I like it
    __________________
    RumbleFrog is offline
    Dr.Doctor
    AlliedModders Donor
    Join Date: Feb 2017
    Location: Hong Kong
    Old 02-21-2018 , 06:22   Re: [TF2] Auto Translate (v1.0.2, 2018-02-21)
    Reply With Quote #3

    Seems great! I will test it out!
    __________________
    Dr.Doctor is offline
    Salamon75
    Junior Member
    Join Date: Feb 2018
    Location: UK
    Old 02-22-2018 , 06:18   Re: [TF2] Auto Translate (v1.0.2, 2018-02-21)
    Reply With Quote #4

    Hi,
    I installed the extentsions and no errors when checking sm exts list also installed plugin
    but for me it doesn't work.
    Error in console:
    L 02/22/2018 - 12:09:02: [SM] Exception reported: Couldn't Parse JSON
    L 02/22/2018 - 12:09:02: [SM] Blaming: sm-translate.smx
    L 02/22/2018 - 12:09:02: [SM] Call stack trace:
    L 02/22/2018 - 12:09:02: [SM] [0] ThrowError
    L 02/22/2018 - 12:09:02: [SM] [1] Line 439, sm-translate.sp::TranslateCallback
    Salamon75 is offline
    pancakelarry
    Junior Member
    Join Date: Sep 2014
    Old 02-22-2018 , 07:39   Re: [TF2] Auto Translate (v1.0.2, 2018-02-21)
    Reply With Quote #5

    Quote:
    Originally Posted by Salamon75 View Post
    Hi,
    I installed the extentsions and no errors when checking sm exts list also installed plugin
    but for me it doesn't work.
    Error in console:
    L 02/22/2018 - 12:09:02: [SM] Exception reported: Couldn't Parse JSON
    L 02/22/2018 - 12:09:02: [SM] Blaming: sm-translate.smx
    L 02/22/2018 - 12:09:02: [SM] Call stack trace:
    L 02/22/2018 - 12:09:02: [SM] [0] ThrowError
    L 02/22/2018 - 12:09:02: [SM] [1] Line 439, sm-translate.sp::TranslateCallback
    Can you download the latest version and use the cvar translate_debug 1? It should print more information about the JSON response.
    pancakelarry is offline
    Salamon75
    Junior Member
    Join Date: Feb 2018
    Location: UK
    Old 02-22-2018 , 08:58   Re: [TF2] Auto Translate (v1.0.3, 2018-02-22)
    Reply With Quote #6

    {
    "error": {
    "code": 403,
    "message": "Google Cloud Translation API has not been used in project translatetf-196010 before or it is disabled. Enable it by visiting https://console.developers.google.co...slatetf-196010 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "errors": [
    {
    "extendedHelp": "https://console.developers.google.com",
    "message": "Google Cloud Translation API has not been used in project translatetf-196010 before or it is disabled. Enable it by visiting https://console.developers.google.co...slatetf-196010 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "domain": "usageLimits",
    "reason": "accessNotConfigured"
    }
    ],
    OKay so I was able to debug thanks for your modification.
    So it's not enough to generate an API key also have to sign up for billing account in google and then enable the translate API.
    So I got this resolved. Your app is works now but... :-) and this is the funny part, I set it to translate from hungarian to English and as you can see bellow... this is not English. I don't know what language is this but not English for sure. But you can see I set it right because ti says:[Translate] (hu > en)

    [Translate] (hu > en) XXggabeszXX: Ko, my broer, ek sal onenigheid praat: 3
    Salamon75 is offline
    pancakelarry
    Junior Member
    Join Date: Sep 2014
    Old 02-22-2018 , 11:51   Re: [TF2] Auto Translate (v1.0.3, 2018-02-22)
    Reply With Quote #7

    Quote:
    Originally Posted by Salamon75 View Post
    {
    "error": {
    "code": 403,
    "message": "Google Cloud Translation API has not been used in project translatetf-196010 before or it is disabled. Enable it by visiting https://console.developers.google.co...slatetf-196010 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "errors": [
    {
    "extendedHelp": "https://console.developers.google.com",
    "message": "Google Cloud Translation API has not been used in project translatetf-196010 before or it is disabled. Enable it by visiting https://console.developers.google.co...slatetf-196010 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "domain": "usageLimits",
    "reason": "accessNotConfigured"
    }
    ],
    OKay so I was able to debug thanks for your modification.
    So it's not enough to generate an API key also have to sign up for billing account in google and then enable the translate API.
    So I got this resolved. Your app is works now but... :-) and this is the funny part, I set it to translate from hungarian to English and as you can see bellow... this is not English. I don't know what language is this but not English for sure. But you can see I set it right because ti says:[Translate] (hu > en)

    [Translate] (hu > en) XXggabeszXX: Ko, my broer, ek sal onenigheid praat: 3
    Whoops. This was a pretty big oversight by me. Should be fixed in the latest version.
    pancakelarry is offline
    Salamon75
    Junior Member
    Join Date: Feb 2018
    Location: UK
    Old 02-23-2018 , 14:27   Re: [TF2] Auto Translate (v1.0.4, 2018-02-22)
    Reply With Quote #8

    Okay so the language is now right but... Isn't it suppose to translate only for the the one who turned it on? I have turned on translation and it's flooding the chat to everyone so I had to take it of as I was receiving many complains and also lagging the game.
    My understanding was that everyone should be able to turn it on or off for themselves separately
    Salamon75 is offline
    pancakelarry
    Junior Member
    Join Date: Sep 2014
    Old 02-23-2018 , 17:45   Re: [TF2] Auto Translate (v1.0.4, 2018-02-22)
    Reply With Quote #9

    They should be able to turn off source languages from /lmenu, unless i messed up something. I'll look into it tomorrow, also will probably make everything start disabled rather than enabled for new clients.
    pancakelarry is offline
    Dr.Doctor
    AlliedModders Donor
    Join Date: Feb 2017
    Location: Hong Kong
    Old 02-24-2018 , 19:20   Re: [TF2] Auto Translate (v1.0.5, 2018-02-24)
    Reply With Quote #10

    I got some ideas:

    Create a sync hud near the chatbox to show the translated sentence.
    To prevent chat spamming.
    __________________
    Dr.Doctor is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 02:27.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode