Localized SendChat()

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Localized SendChat()

Post 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
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Blueplayer
    Posts: 170
    Joined: 05 Apr 2011, 17:34

    Re: Localized SendChat()

    Post by Blueplayer »

    Go through the player array and check the Player.User.Language attribute.
    if he has the right language then send it. ;)
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: Localized SendChat()

    Post 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 ^^
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      Post Reply

      Return to “ManiaScript”

      Who is online

      Users browsing this forum: No registered users and 0 guests