Ricerche recenti


Nessuna ricerca recente

Adil Malik's Avatar

Adil Malik

Data ingresso 15 nov 2021

·

Ultima attività 28 dic 2023

Seguiti

0

Follower

0

Attività totali

5

Voto

1

Abbonamenti

2

PANORAMICA ATTIVITÀ

Ultima attività di Adil Malik

Adil Malik ha commentato,

Commento nella community Q&A - Objects, workspaces, and rules

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 %}",

Visualizza commento · Data ultimo post: 16 nov 2021 · Adil Malik

0

Follower

2

Voti

0

Commenti


Adil Malik ha creato un post,

Post Q&A - Objects, workspaces, and rules

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 %}",

Data ultimo post: 15 nov 2021 · Adil Malik

1

Follower

3

Voti

3

Commenti