Open ghost opened 7 years ago
I confirm this. Indeed, the Accept-Language header seems not to control Cleverbot language anymore.
@pierredavidbelanger There's another API that can do this?
@Kurimatzu I guess that if Cleverbot stop supporting languages, I doubt that you will find an other Cleverbot API that supports it (at least based on Accept-Language header).
If you have some time, you can go on the Cleverbot web site, chat with the bot, and inspect request/response to know how they handle language now.
ChatterBotFactory factory = new ChatterBotFactory(); ChatterBot bot1 = factory.create(ChatterBotType.CLEVERBOT); ChatterBotSession bot1session = bot1.createSession(new Locale.Builder().setLanguage("en").setRegion("US").build());
I'm using it, but the answers are not coming out in English and in other languages.
It is possible to change the language of the answers?