[Filterscript] Auto Translate chat - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13) ---- Forum: Filterscripts (https://forum.open.mp/forumdisplay.php?fid=30) ---- Thread: [Filterscript] Auto Translate chat (/showthread.php?tid=1112) |
Auto Translate chat - billz - 2020-06-04 THE FILTERSCRIPT IS INCREDIBLY MESSY - BUT IT WAS MADE FOR TESTING PURPOSES TO EVEN SEE IF IT WOULD EVEN WORK This basically contains a php file which gets the translation data from?mymemory.translated.net. It also replaces all the weird foreign characters with normal ones. The example I've shared translates ES to EN and EN to ES. However, with the api you have no limitations of which languages you want to translate. [Video: https://www.youtube.com/watch?v=Auf4zXZcqfc] test.php https://pastebin.com/raw/YsAQkH3q example.pwn https://pastebin.com/raw/Q4tZ1Zrg like I said... VERY MESSY and stupid. how to basically use the api: PHP Code: #include <a_samp> strreplace by slice?https://pastebin.com/raw/x6Gea0Nq RE: Auto Translate chat - xbruno1000x - 2020-07-05 The video is off RE: Auto Translate chat - Chaprnks - 2023-07-10 It's an excellent idea & has great potential. My first thought is alot of the online translators have hard limits, so it'd break functionally after the limit it reached. That'd make it ideal only for lower player base communities. Many years ago, I do remember seeing something similar to this on the now defunct SA-MP forums, although it was using some type of strange ICQ translator. Glad to see this concept has a revival, hopefully there'll be a polished & fully functional solution in the future. |