Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[Any] SM Translator (fork)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
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 :P

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

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...