Raised This Month: $ Target: $400
 0% 

[Any] SM Translator (fork)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sorakoi
New Member
Join Date: May 2022
Plugin ID:
8537
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Translate chat messages into your language
    Old 08-30-2023 , 07:47   [Any] SM Translator (fork)
    Reply With Quote #1

    Description:

    This plugin is a fork of original plugin because the original plugin hasn't been maintained for a long time. I have rewritten a portion of the code.

    Translate chat messages into your language.

    Players who join your server and don't have the official server language will have their sent messages translated. Additionally, messages from other players will be translated for them. You can define the official server language in addons/sourcemod/configs/core.cfg ("ServerLang").

    However, you need to apply for the Baidu Translate API or Deepl Free/Pro API beforehand.

    In a sense, this is my first publicly released plugin, so there might be some logic that's hard to understand. Oh, and my English isn't very good, so these contents are all machine-translated

    Commands:
    - sm_translator (!translator) - Open the menu to disable/enable the translator plugin for you.

    ConVars:
    PHP Code:
    sm_translator_versionSM Translator Version
    sm_translator_apiThe translation source used by SM TranslatordisabledBaiduDeepl FreeDeepl Pro (untested)
    sm_translator_apikeyThe key value used by the translation sourceused for Baidu.
    sm_translator_apiauthThe auth value used by the translation sourceused for Baidu and Deepl
    Requirements:
    - SteamWorks
    - ripext
    - logger.inc (for compile)

    Todo:
    - Add more translation sources.
    - Translate the commented parts of the code.
    - Fix bugs (if anyone notifies me about them )

    Note:
    - Baidu Translator can support almost all languages, but there may be network problems outside of China. DeepL Some languages are not supported.

    Download: https://github.com/PencilMario/SM-Translator

    Update Log:
    PHP Code:
    Version 1.0.0:
      
    officially released
    Sorakoi is offline
    Reply



    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 22:16.


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