收藏
回答

英译中部分内容涉黄

问题类型 插件 AppID 插件版本号 AppID 操作系统 微信版本 基础库版本
Bug wx069ba97219f66d99 0.3.5 wxf0b229980fbeb986 iOS 8.0.16 2.21.4

开发工具和手机翻译结果一样,我使用过程中发现多处翻译涉黄,于是测试内容,发现翻译内容1是正常的,内容2有涉黄,比较发现内容1和内容2差异为最后的句号,希望你们排查

翻译内容1:“Don’t worry, the fact that you came so far means the Captain has agreed. I’ve always been a little afraid of him, even though he is amiable, a fatherly figure. I don’t know why but i’m Still afraid.” Rozanne spoke as though there was a piece of sweet in her throat

翻译内容2:// let content = '“Don’t worry, the fact that you came so far means the Captain has agreed. I’ve always been a little afraid of him, even though he is amiable, a fatherly figure. I don’t know why but I’m still afraid.” Rozanne spoke as though there was a piece of sweet in her throat.'

全部代码

let content = '“Don’t worry, the fact that you came so far means the Captain has agreed. I’ve always been a little afraid of him, even though he is amiable, a fatherly figure. I don’t know why but i’m Still afraid.” Rozanne spoke as though there was a piece of sweet in her throat'

    // let content = '“Don’t worry, the fact that you came so far means the Captain has agreed. I’ve always been a little afraid of him, even though he is amiable, a fatherly figure. I don’t know why but I’m still afraid.” Rozanne spoke as though there was a piece of sweet in her throat.'

    plugin.translate({

      lfrom:"en_US",

      lto:"zh_CN",

      content: content,

      success: function(res) {

        console.log("result", res)

      },

      fail: function(res) {

        wx.showModal({

          title: '温馨提示',

          content: '翻译失败',

          showCancel: false

        })

        console.log("翻译失败",res)

      }

    })


回答关注问题邀请回答
收藏
登录 后发表内容