Setting Dialogflow Processor Language Code Based on URL

TLDR joelopezcuenca asked how to set the Dialogflow processor language code based on URL locale. sojan_official directed to an ongoing issue thread and advised that restarting services will reflect any custom changes made.

Photo of joelopezcuenca
joelopezcuenca
Thu, 30 Mar 2023 20:37:37 UTC

sojan_official hello, any ideas on how to set the dialogflow processor language_code based on the url locale? i have an url that ends on /en or /es, i wanrt to use that as ther locale i sent to dialogflow everytime i send a message. since users on the website can switch language at anytime

Photo of sojan_official
sojan_official
Sun, 02 Apr 2023 08:24:02 UTC

we are tracking this here : https://github.com/chatwoot/chatwoot/issues/3071

Photo of joelopezcuenca
joelopezcuenca
Mon, 10 Apr 2023 17:08:39 UTC

ok,. i have a production environment, i made some changes to my /lib/integrations/dialogflow/processor_service.rb how can i make it so it takes the changes?

Photo of joelopezcuenca
joelopezcuenca
Mon, 10 Apr 2023 17:08:42 UTC

sojan_official

Photo of sojan_official
sojan_official
Wed, 12 Apr 2023 08:59:37 UTC

restarting the services should pick up your custom changes