Page 1 of 1

Localized SendChat()

Posted: 25 May 2013, 20:01
by steeffeen
hey there,

i would like to ask if it may be possible to make the messages send via CUIConfig::SendChat(Text) localizable
of course the chat itself doesn't get translated usually, but in case a game mode is sending chat messages it would be great if they would be translated

any thoughts?

steff

Re: Localized SendChat()

Posted: 25 May 2013, 21:52
by Blueplayer
Go through the player array and check the Player.User.Language attribute.
if he has the right language then send it. ;)

Re: Localized SendChat()

Posted: 25 May 2013, 21:56
by steeffeen
that's not what i meant
you can let strings being translated automatically by the game but that's not working for chat messages
i want to send the messages to every player ^^