Auto Chat Translation...

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Auto Chat Translation...

by TenPlus1 » Mon Jul 29, 2013 13:56

While playing on certain servers it was imporssible to chat to users who don't speak my own language, first because I cannot copy n paste text to and from Minetest...

would it be possible to have an add-on mod that lets you choose your default language and when someone types it will convert their text via google translate to your language so you can read (with an OFF switch just in case)...
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

by BrandonReese » Mon Jul 29, 2013 14:20

Great idea but it wouldn't work with the way lua is implemented. The server would stop everything else it was doing to contact google translate and get the results. Once the results were back it would resume normal operation. So you could have a second or two pause in the server for each chat message.
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Mon Jul 29, 2013 14:46

-1

Translating whole sentences won't work...
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Mon Jul 29, 2013 16:59

Let people use google translate themselves
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Mon Jul 29, 2013 17:00

Does copy paste work in chat now?
"Fuck the hat." - Paulie Gualtieri
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Mon Jul 29, 2013 17:30

For me ctrl+c and ctrl+v work...
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Mon Jul 29, 2013 17:50

Hybrid Dog wrote:
webdesigner97 wrote:For me ctrl+c and ctrl+v work...
not for me

Maybe it has to do with OS? I run Windows 7...
Last edited by webdesigner97 on Mon Jul 29, 2013 17:51, edited 1 time in total.
 

nolan
Member
 
Posts: 298
Joined: Tue Jun 25, 2013 04:52

by nolan » Mon Jul 29, 2013 19:11

This also would not work because spelling is awful, think how many spelling errors people have and its hard to translate without correct spelling.
Minecraft Came Out For The Ps3
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Mon Jul 29, 2013 19:15

copy/paste doesn't work for me either on arch. Despite google being evil and all, i'd still like to understand all the players on my server, and for them to understand me.
"Fuck the hat." - Paulie Gualtieri
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Mon Jul 29, 2013 21:07

TenPlus1 wrote:While playing on certain servers it was imporssible to chat to users who don't speak my own language, first because I cannot copy n paste text to and from Minetest...

would it be possible to have an add-on mod that lets you choose your default language and when someone types it will convert their text via google translate to your language so you can read (with an OFF switch just in case)...

Why Google Translate? What if it could use a native translation engine server-side? Yes, translation programs do exist. It would cause chatting to be laggy, but much less so than Google.

Running client-side would be lightning-fast, but it would eat up a good 2GB of hard drive. Ouch.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Mon Jul 29, 2013 21:49

If the engine is written in C/C++, you can create a small wrapper library, and load it from Lua in a server mod.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Mon Jul 29, 2013 21:51

Who says copy+paste. Stop being a lazy bum and type it out :)

When I host GRID races online via GameRanger, I translate 'Which car and track' to some three languages. -.-

kyakov automobile?
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Mon Jul 29, 2013 21:54

hoodedice wrote:Who says copy+paste. Stop being a lazy bum and type it out :)

GL;HF typing chinese, japanese, korean, or arabic characters :)
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Mon Jul 29, 2013 22:13

hoodedice wrote:Who says copy+paste. Stop being a lazy bum and type it out :)


So what do you do when you run a server and you got several people speaking different languages?

[edit] turns out google's translation api is no longer free but bings' is.
Last edited by mauvebic on Mon Jul 29, 2013 22:27, edited 1 time in total.
"Fuck the hat." - Paulie Gualtieri
 

Rhys
Member
 
Posts: 379
Joined: Wed May 22, 2013 15:22

by Rhys » Sun Sep 15, 2013 18:47

What really REALLY annoys me is that you can't say something like Français, because of that c. It does work on a french KEYBOARD, but not with Ctrl+C and Ctrl+V. Why is this?
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: Auto Chat Translation...

by wilkgr76 » Wed May 11, 2016 06:03

+1

Maybe when client-side lua is made?
I do not care.
 

User avatar
Rui
Member
 
Posts: 255
Joined: Wed Oct 01, 2014 12:59
GitHub: Rui-Minetest

[DELETED]

by Rui » Fri May 13, 2016 18:27

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:27, edited 1 time in total.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: Auto chat translator (server-side)

by wilkgr76 » Sat May 14, 2016 01:17

Rui wrote:Image

https://github.com/Rui914/chat_translator
I made simple translator mod.
That requires HTTP API.

This uses microsoft's translation api, so need the client id and the client secret.
(See https://translatorbusiness.uservoice.com/)

Nice :)
I do not care.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 14 guests

cron