Skip navigation
Currently Being Moderated

Capabilities.language for variants of the same language (i.e: Portuguese from Portugal and Brazil)

Apr 26, 2012 9:53 AM

Tags: #languages

According to the documentation, Capabilities.language has a fixed list of possible values, as shown here: sh/system/Capabilities.html#language


For Portuguese there's only one entry: "pt"


So will Capabilites.language return the same "pt" value for people from Portugal and from Brazil?

How can I tell the difference? How can i get the "pt-br" or "pt-pt" strings?




More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points