최근 검색


최근 검색 없음

Adil Malik's Avatar

Adil Malik

가입한 날짜: 2021년 11월 15일

·

마지막 활동: 2023년 12월 28일

팔로잉

0

팔로워

0

총 활동 수

5

투표

1

플랜 수

2

활동 개요

님의 최근 활동 Adil Malik

Adil Malik님이 에 댓글을 입력함

커뮤니티 댓글 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 %}",

댓글 보기 · 2021년 11월 16일에 게시됨 · Adil Malik

0

팔로워

2

투표 수

0

댓글


Adil Malik님이 에 게시물을 만듦

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

2021년 11월 15일에 게시됨 · Adil Malik

1

팔로워

3

투표 수

3

댓글