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

[TF2] Auto Translate (v1.0.0, 2018-02-20)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Auto Translate
v1.0.0

68747470733a2f2f7075752e73682f7a72744e5468747470733a2f2f7075752e73682f7a73334748

Description
This plugin utilises Google Cloud Translate API to automatically translates user sent chat messages.
Clients can choose their preferred target language, to which other languages in chat will be translated to.
They can also toggle any of the source languages to their preference. (i.e. if you speak multiple languages you can toggle those off and they will not be translated)

The full list of languages supported by Google can be found here.


Commands
sm_languagemenu or sm_lmenu - Toggles language menu for language selection.


Dependencies
SMJansson by Thrawn2
System2 by dordnung

Includes for compiling
More Colors by Dr. McKay
stringescape by dordnung


Installation instructions

This plugin requires a Google API key to function!
For creating an API key, see the documentation.
  • Install required extensions.
  • Install plugin to sourcemod/plugins as you would normally.
  • Create api-key.txt in /addons/sourcemod/config/sm-translate/ with your Google API key inside.


Changelog
Code:

v1.0.0 (2018-02-20)
  * initial release


Source code
https://github.com/laurirasanen/sm-translate



Attached Files
File Type: smx sm-translate.smx (19.9 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

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

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