BabelChat

Moved

Total Downloads: 656 - First Release: Jun 10, 2016 - Last Update: Nov 19, 2017

5/5, 3 likes
  1. Wulf

    Wulf Community Admin

    What does it look like?
     
  2. http://prntscr.com/g1lc70 its just shows original text and then the translation but even if it does not translate it shows double
     
  3. Wulf

    Wulf Community Admin

    Do you see any errors in your logs?
     
  4. i see 2 different but one is just it does not see the lang i guess and the other one i dont know
    (22:54:08) | [Babel] Invalid language code, please check that it is valid and try again (to: en, from: es-ES)

    (22:54:57) | [Babel] Translation failed! yandex responded with: {"code":502,"message":"Invalid parameter: lang"} (400)

    but even when it does translate it still does show double

    BTW i use betterchat aswell
     
    Last edited by a moderator: Jul 28, 2017
  5. Wulf

    Wulf Community Admin

    Lang codes need to be two digits only.
     
  6. i did not change a thing only set
    Code:
    {
      "Force default server language (true/false)": true,
      "Log chat messages (true/false)": false,
      "Show original message (true/false)": false,
      "Use random name colors (true/false)": false
    }
    as config so i dont know why it still shows original message :( i dont think the lang code is the problem of that is it ?

    i use Betterchat with it but that should not give a problem or does it ?
     
  7. How do I make it so only one message is shown if a player types in English (server default) but shows a translated message if it's anything else than English?

    Example:
    (16:18:48) | [BabelChat] xxshadyjxx: Hello, how are you
    (16:18:48) | [CHAT] [MYLAWN] xxshadyjxx[xxxx/xxxxxxxxxxxxxxxx] : hola como esta

    (16:19:20) | [BabelChat] xxshadyjxx: it might b cuz im using english keys some of the letters might not b right<----- Remove this as not needed
    (16:19:20) | [CHAT] [MYLAWN] xxshadyjxx[xxxxxx/xxxxxxxxxxxxxxxxx] : it might b cuz im using english keys some of the letters might not b right

    My current config:
    Code:
    {
      "Force default server language (true/false)": true,
      "Log chat messages (true/false)": true,
      "Show original message (true/false)": false,
      "Use random name colors (true/false)": true
    }
     
    Last edited by a moderator: Jul 29, 2017
  8. thats my problem too i guess ur using betterchat aswell?
     
  9. I am yes and also player challenges so not sure if that is conflicting. Nothing is showing in logs but have temp removed babel as players were getting annoyed with the double chat
     
  10. @Wulf do u see any problems?
     
  11. Wulf

    Wulf Community Admin

    I'll look into it when I get a chance.
     
  12. Thank you Wulf, much appreciated :)
     
  13. Hey we would try this Plugin, but we have this error =(
    Code:
    20:15:08Babel was compiled successfully in 290ms
    20:15:08Error while compiling: BabelChat.cs(100,31): error CS0117: `ConVar.Server' does not contain a definition for `Log'
    20:15:08Unloaded plugin Babel v1.0.2 by Wulf/lukespragg
     
  14. Wulf

    Wulf Community Admin

    This plugin does not have ConVar.Server in it, you're using an old version.
     
  15. we downloaded the last version from here?

    Code:
    //#define DEBUG
    // Requires: Babelusing System;
    using System.Linq;
    using Newtonsoft.Json;
    using Oxide.Core.Libraries.Covalence;
    using Oxide.Core.Plugins;namespace Oxide.Plugins
    {
        [Info("BabelChat", "Wulf/lukespragg", "1.1.2", ResourceId = 1964)]
     
  16. Wulf

    Wulf Community Admin

    Ah, I thought I had updated this. I'll push a fix out shortly.
     
  17. Wulf

    Wulf Community Admin

    Wulf updated BabelChat with a new update entry:

    1.1.3

     
  18. Hey
    so now we can load the Plugin but it didnt work.

    Code:
     23:44:13Plugin compilation is already queued: BabelChat (0.008 ago)
    23:44:14BabelChat and Babel were compiled successfully in 1555ms
    23:44:14Unloaded plugin BabelChat v1.1.3 by Wulf/lukespragg
    23:44:14Unloaded plugin Babel v1.0.2 by Wulf/lukespragg
    23:44:14BabelChat plugin is waiting for requirements to be loaded: Babel
    23:44:14Loaded plugin Babel v1.0.2 by Wulf/lukespragg
    23:44:14Loaded plugin BabelChat v1.1.3 by Wulf/lukespragg
    23:44:24Server language set to en
    23:44:28[BabelChat] Mario: test
    23:44:32[BabelChat] Mario: hinten
    and btw maybe you can change the command cause its now oxide.lang "xx"

    my config:
    Code:
    {
      "Force default server language (true/false)": true,
      "Log chat messages (true/false)": true,
      "Show original message (true/false)": false,
      "Use random name colors (true/false)": false
    }
     
  19. Wulf

    Wulf Community Admin

    Are you writing in a language other than English to test?
     
  20. sure "hinten " is ger ^^