I wrote the code below to handle when users react to an SMS we sent. However, if an IOS user has their language settings set to anything other than English it will send different reaction text. I.e. Le gustó instead of Liked. Can someone provide the other phrases that I have to look for form non-English users?
if ((smsBody.StartsWith("LIKE “")
|| smsBody.StartsWith("LIKED “")
|| smsBody.StartsWith("LOVED “")
|| smsBody.StartsWith("DISLIKED “")
|| smsBody.StartsWith("LAUGHED AT “")
|| smsBody.StartsWith("EMPHASIZED “")
|| smsBody.StartsWith("QUESTIONED “")
|| smsBody.StartsWith("REMOVED A HEART FROM “")
|| smsBody.StartsWith("REMOVED A QUESTION FROM “")
|| smsBody.StartsWith("REMOVED A EXCLAMATION FROM “")
|| smsBody.StartsWith("REMOVED A LAUGH FROM “")
|| smsBody.StartsWith("REMOVED A LIKE FROM “")
|| smsBody.StartsWith("REMOVED A DISLIKE FROM “")
) && sms.Body.EndsWith("”") || (Regex.IsMatch(smsBody, $"{EmojiPattern}\\s+to\\s+“.*?”") && Regex.IsMatch(smsBody, $"^{EmojiPattern}")))