Auto Chat Translation...

Post Reply
User avatar
TenPlus1
Member
Posts: 3728
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Auto Chat Translation...

by TenPlus1 » Post

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: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

by BrandonReese » Post

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: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

-1

Translating whole sentences won't work...

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

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

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

by mauvebic » Post

Does copy paste work in chat now?

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

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

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

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
Location: ohio

by nolan » Post

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

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

by mauvebic » Post

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.

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

by tinoesroho » Post

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
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

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

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

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
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

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

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

by mauvebic » Post

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.

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

by Rhys » Post

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?

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: Auto Chat Translation...

by wilkgr76 » Post

+1

Maybe when client-side lua is made?
N/A

Rui
Member
Posts: 261
Joined: Wed Oct 01, 2014 12:59

[DELETED]

by Rui » Post

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

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: Auto chat translator (server-side)

by wilkgr76 » Post

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 :)
N/A

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests