Pesquisas recentes
Sem pesquisas recentes

Adil Malik
Entrou em 15 de nov. de 2021
·
Última atividade em 28 de dez. de 2023
Seguindo
0
Seguidores
0
Atividade total
5
Votos
1
Assinaturas
2
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Adil Malik
Adil Malik comentou,
I figured out that the brackets on the placeholders were causing the issue. The following resolves my request.
"requester_language":"{% if ticket.requester.language% == 'Deutsch'%} DE {% endif %} {% if ticket.requester.language% == 'English'%} EN-US {% endif %} {% if ticket.requester.language% == 'Italiano'%} IT {% endif %} {% if ticket.requester.language% == 'Português (Portugal)'%} PT-BR {% endif %} {% if ticket.requester.language% == 'Português (Brasil)'%} PT-BR {% endif %} {% if ticket.requester.language% == 'Español'%} ES-ES {% endif %} {% if ticket.requester.language% == 'Español (España)'%} ES-ES {% endif %}",
Exibir comentário · Publicado 16 de nov. de 2021 · Adil Malik
0
Seguidores
2
Votos
0
Comentários
Adil Malik criou uma publicação,
I'm looking to send the requester's language to another app as the corresponding language code, i.e. instead of French, I will send fr. However, the following liquid markup sends fr each time, regardless of the language preference set. How can I correct this behavior?
"requester_language":"{% if {{ticket.requester.language}}% == 'français (France)'%} fr {% elsif {{ticket.requester.language}}% == 'Deutsch' %} de {% else %} en-us {% endif %}",
Publicado 15 de nov. de 2021 · Adil Malik
1
Seguidor
3
Votos
3
Comentários