Answers.Body: <p>I'm almost certain that such a token doesn't already exist.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-09T22:56:04.727Z
Answers.Text: Thanks. Would it make sense in the core (ie. PR welcome) or should it stay as an extension IYO?
Answers.UserDisplayName: Xavier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-10T03:21:40.043Z
Answers.Text: IMO it makes sense as an extension.  It feels like it's of niche interest, and the tendency is to move things out of core these days.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-10T20:06:09.387Z
Answers.Text: Personally can't see the problem with having more tokens added to core - there are plenty of existing tokens which are pretty niche.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-11T11:56:19.827Z
Answers.Text: yeap, I looked at it and doing it in the core is simple, but from an extension would need extra requests. I'm not keen on making civi even more slow by querying twice the same row
Answers.UserDisplayName: Xavier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-12T23:02:49.430Z
Answers.Text: I think you're both making compelling points.  It seems like a reasonable addition to core to avoid the "query again on every row" issue.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-09T04:03:21.010Z
Answers.LastActivityDate: 2017-01-09T04:03:21.010Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>the token {contact.country} returns the full name of the country, I'd need the iso code (eg "FR" instead of "France"). </p>
  
  <p>Am I missing the obvious and is there a {contact.country_iso} hidden somewhere ? is there an extension that does provide this token already?</p>
  
Tags: <civimail><email><tokens>
Title: token for country iso code
ThreadText: # token for country iso code
  
  (Asked by: username_0 on 2017-01-08)
  
  the token {contact.country} returns the full name of the country, I'd need the iso code (eg "FR" instead of "France").
  
  Am I missing the obvious and is there a {contact.country\_iso} hidden somewhere ? is there an extension that does provide this token already?
  
  **Tags:** civimail, email, tokens
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-01-09. Score: 1
  
  I'm almost certain that such a token doesn't already exist.
  
  > **Comments:**
  > **username_0**: Thanks. Would it make sense in the core (ie. PR welcome) or should it stay as an extension IYO?  
  > **username_1**: IMO it makes sense as an extension.  It feels like it's of niche interest, and the tendency is to move things out of core these days.  
  > **username_2**: Personally can't see the problem with having more tokens added to core - there are plenty of existing tokens which are pretty niche.  
  > **username_0**: yeap, I looked at it and doing it in the core is simple, but from an extension would need extra requests. I'm not keen on making civi even more slow by querying twice the same row  
  > **username_1**: I think you're both making compelling points.  It seems like a reasonable addition to core to avoid the "query again on every row" issue.  
  
  ---
  
  