Using variables in i18n language packs

Hi!

The i18n language packs (i.e. widgets-es.i18n.json) include variables in standard responses, like this one:

"AgentConnected": "<%Agent%> conectado",

At runtime, the variable <%Agent%> is filled with the agent's alias, if available.

My question is: what other variables are available for usage in the i18n file? Is it possible to use session variables collected in the chat entry form, for example context.firstName or context.email? If so, how would they be used exactly in the i18n file? Can you provide an example?

Many thanks!

Syxtus

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.