Automattic/jetpack — pull request #1429 by dereksmart (2014-12-16 15:27:09+00:00)
Title: Stats language

Fixes #698

Since dotcom won't read the full `get_locale` string, I wrote a custom function to change the string to match the `lang` attr. So it changes `es_ES` to just `es`. Let me know if there's a better way to do this.