OpauthResponseHelper::get_twitter_locale
Twitter responds with just a language (also a TZ, but unused for now) If the PECL Locale extension is used it may be possible to combine both the TZ and the language to fine tune a user's location, but a bit OTT.
Signature
public function get_twitter_locale(
$source )
Parameters
$source
—
Returns
- string