The module now supports multiple agents and different languages for each one.
It will now query an agent based on the locale of the user or the fallback language.
The config has changed to handle multiple agents, as such API_TOKEN is now depreciated.
Calling getAvailableLang and getAgent for each query seems a bit redundant but I don't know if there is another way to do it with how things works currently, suggestions welcome ^^
The module now supports multiple agents and different languages for each one. It will now query an agent based on the locale of the user or the fallback language. The config has changed to handle multiple agents, as such API_TOKEN is now depreciated.
Calling getAvailableLang and getAgent for each query seems a bit redundant but I don't know if there is another way to do it with how things works currently, suggestions welcome ^^